diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-02-17 16:59:01 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-02-17 16:59:01 +0000 |
commit | faf06f782077f08f82b36eaffbcb43788acd5d1f (patch) | |
tree | f08e7f2cabb85cc903bb6253f4436c529c5f299b /Makefile | |
parent | 49e7329d1549dcf1d8247eed0c10ab6fa98b0a6d (diff) | |
download | mgaonline-faf06f782077f08f82b36eaffbcb43788acd5d1f.tar mgaonline-faf06f782077f08f82b36eaffbcb43788acd5d1f.tar.gz mgaonline-faf06f782077f08f82b36eaffbcb43788acd5d1f.tar.bz2 mgaonline-faf06f782077f08f82b36eaffbcb43788acd5d1f.tar.xz mgaonline-faf06f782077f08f82b36eaffbcb43788acd5d1f.zip |
- clean dir after build
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -37,7 +37,7 @@ localrpm: clean localdist buildrpm localdist: cleandist dir localcopy tar cleandist: - rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.bz2 + rm -rf $(PACKAGE)-$(VERSION) ../$(PACKAGE)-$(VERSION).tar.bz2 dir: mkdir $(PACKAGE)-$(VERSION) @@ -47,15 +47,15 @@ localcopy: clean find $(PACKAGE)-$(VERSION) -type d -name CVS|xargs rm -rf tar: - tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION) - bzip2 -9vf $(PACKAGE)-$(VERSION).tar + tar cvf ../$(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION) + bzip2 -9vf ../$(PACKAGE)-$(VERSION).tar rm -rf $(PACKAGE)-$(VERSION) buildrpm: (echo "# !! DON'T MODIFY HERE, MODIFY IN THE CVS !!" ; \ cat $(PACKAGE).spec \ ) > $(RPM)/SPECS/$(PACKAGE).spec - rpm -ta $(PACKAGE)-$(VERSION).tar.bz2 + rpm -ta ../$(PACKAGE)-$(VERSION).tar.bz2 # rules to build a distributable rpm |