diff options
author | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-01-04 23:49:07 +0000 |
---|---|---|
committer | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-01-04 23:49:07 +0000 |
commit | 1a6e83a185fa64bf8f023047ef078f7688931e1e (patch) | |
tree | e32653a5faf0da90d35a8c7303c1e138b47e6c2d /Makefile | |
parent | 2cd115f2b5fc478614f4c6be0fb7d553e0e38052 (diff) | |
download | common-data-1a6e83a185fa64bf8f023047ef078f7688931e1e.tar common-data-1a6e83a185fa64bf8f023047ef078f7688931e1e.tar.gz common-data-1a6e83a185fa64bf8f023047ef078f7688931e1e.tar.bz2 common-data-1a6e83a185fa64bf8f023047ef078f7688931e1e.tar.xz common-data-1a6e83a185fa64bf8f023047ef078f7688931e1e.zip |
"Seethechangelog"
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 9 insertions, 12 deletions
@@ -1,3 +1,4 @@ +NAME = mandrake_desk VERSION = 1.0.1 all: @@ -7,18 +8,14 @@ clean: find . -type d -name '.xvpics'|xargs rm -rf dis: clean - rm -rf mandrake_desk-$(VERSION) ../mandrake_desk-$(VERSION).tar* - mkdir -p mandrake_desk-$(VERSION) - find . -not -name "mandrake_desk-$(VERSION)"|\ - cpio -pd mandrake_desk-$(VERSION)/ - find mandrake_desk-$(VERSION) \ - -type d -name CVS -o -name .cvsignore -o -name unused |xargs rm -rf - egrep "^%define version $(VERSION)" mandrake_desk.spec || - perl -p -i -e 's|^%define version.*|%define version $(VERSION)|' \ - mandrake_desk.spec - tar cf ../mandrake_desk-$(VERSION).tar mandrake_desk-$(VERSION) - bzip2 -9f ../mandrake_desk-$(VERSION).tar - rm -rf mandrake_desk-$(VERSION) + rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* + mkdir -p $(NAME)-$(VERSION) + find . -not -name "$(NAME)-$(VERSION)"|cpio -pd $(NAME)-$(VERSION)/ + find $(NAME)-$(VERSION) -type d -name CVS -o -name .cvsignore -o -name unused |xargs rm -rf + perl -p -i -e 's|^%define version.*|%define version $(VERSION)|' $(NAME).spec + tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION) + bzip2 -9f ../$(NAME)-$(VERSION).tar + rm -rf $(NAME)-$(VERSION) rpm: dis ../mandrake_desk-$(VERSION).tar.bz2 $(RPM) cp -f ../mandrake_desk-$(VERSION).tar.bz2 $(RPM)/SOURCES |