summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2003-02-17 16:59:01 +0000
committerDaouda Lo <daouda@mandriva.com>2003-02-17 16:59:01 +0000
commitfaf06f782077f08f82b36eaffbcb43788acd5d1f (patch)
treef08e7f2cabb85cc903bb6253f4436c529c5f299b /Makefile
parent49e7329d1549dcf1d8247eed0c10ab6fa98b0a6d (diff)
downloadmgaonline-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--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f954f25e..9e21a3cf 100644
--- a/Makefile
+++ b/Makefile
@@ -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