diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-12-18 09:33:29 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-12-18 09:33:29 +0000 |
commit | c8daa729ba2a4f79b010f9bb19334e85fcb00a24 (patch) | |
tree | 70d86ceb843bd2564ff0a7d4e75b91e0f77fc1a9 /Makefile | |
parent | 608db6562a3bbbf1e270bebc5fb3a0383fe967c0 (diff) | |
download | drakwizard-c8daa729ba2a4f79b010f9bb19334e85fcb00a24.tar drakwizard-c8daa729ba2a4f79b010f9bb19334e85fcb00a24.tar.gz drakwizard-c8daa729ba2a4f79b010f9bb19334e85fcb00a24.tar.bz2 drakwizard-c8daa729ba2a4f79b010f9bb19334e85fcb00a24.tar.xz drakwizard-c8daa729ba2a4f79b010f9bb19334e85fcb00a24.zip |
some gtk2 bug fix
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |