diff options
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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" \{\} \; |