summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-12-18 09:33:29 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-12-18 09:33:29 +0000
commitc8daa729ba2a4f79b010f9bb19334e85fcb00a24 (patch)
tree70d86ceb843bd2564ff0a7d4e75b91e0f77fc1a9 /Makefile
parent608db6562a3bbbf1e270bebc5fb3a0383fe967c0 (diff)
downloaddrakwizard-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--Makefile9
1 files changed, 7 insertions, 2 deletions
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