From c8daa729ba2a4f79b010f9bb19334e85fcb00a24 Mon Sep 17 00:00:00 2001 From: Arnaud Desmons Date: Wed, 18 Dec 2002 09:33:29 +0000 Subject: some gtk2 bug fix --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3b22ea19..27aa07d3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ RPM=$(HOME)/rpm NAME = drakwizard TAR = $(NAME).tar.bz2 + +WIZ_HOME=${prefix}/share/wizards + WIZ = common\ server_wizard\ dhcp_wizard\ @@ -29,8 +32,9 @@ install: for l in $(WIZ); do \ $(MAKE) -C $$l $@; \ done - find ${prefix}/share/wizards -regex ".*\.wiz$$\|.*.pm$$\|.*\.sh$$" -exec \ - perl -i -pe "s|__WIZ_HOME__|/usr/share/wizards|g" \{\} \; + find $(WIZ_HOME) ".*\.wiz$$\|.*.pm$$\|.*\.sh$$" -exec \ + perl -i -pe "s|__WIZ_HOME__|$(WIZ_HOME)|g" \{\} \; + perl -i -pe "s|__WIZ_HOME__|$(WIZ_HOME)|g" drakwizard.pl clean: $(MAKE) -C po $@ @@ -57,3 +61,4 @@ test: clean_test cp Wizard.dtd Makefile drakwizard.pl drakwizard.spec test.pl test find test -regex ".*\.wiz$$\|.*\.pm$$\|.*\.sh$$" -exec \ perl -i -pe "s|__WIZ_HOME__|$(PWD)/test|g" \{\} \; + perl -i -pe "s|__WIZ_HOME__|$(PWD)/test|g" test/drakwizard.pl \ No newline at end of file -- cgit v1.2.1