From e204e6101798ec8ccf7ed825e0299a4d4d8c181f Mon Sep 17 00:00:00 2001 From: Arnaud Desmons Date: Tue, 13 Aug 2002 15:46:00 +0000 Subject: cd .. need to be redone each time --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9848cbbc..e6b4d87a 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ install: mkdir -p ${prefix}/sbin install -p drakwizard.pl ${prefix}/sbin/drakwizard for l in $(WIZ); do \ - $(MAKE) -C $$l $@ + $(MAKE) -C $$l $@; \ done clean: @@ -34,7 +34,8 @@ clean: rm -f *~ tar: clean - cd .. ; ln wizard_perl $(NAME); tar cf - $(NAME) | bzip2 -9 >$(TAR) + cd ..; cp -rf wizard_perl $(NAME) + cd ..; tar cf - $(NAME) | bzip2 -9 > $(TAR) rpm: tar cp -f ../$(TAR) $(RPM)/SOURCES @@ -48,6 +49,6 @@ clean_test: test: clean_test mkdir test cp -r $(WIZ) test - cp -f Wizard.dtd Makefile drakwizard.pl drakwizard.spec test + cp Wizard.dtd Makefile drakwizard.pl drakwizard.spec test find test -regex ".*\.wiz$$\|.*.pm$$" -exec \ perl -pi -e "s|__WIZ_HOME__|$(PWD)/test|g" \{\} \; -- cgit v1.2.1