summaryrefslogtreecommitdiffstats
path: root/firewall_wizard/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'firewall_wizard/Makefile')
-rw-r--r--firewall_wizard/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/firewall_wizard/Makefile b/firewall_wizard/Makefile
new file mode 100644
index 00000000..6e3aec62
--- /dev/null
+++ b/firewall_wizard/Makefile
@@ -0,0 +1,26 @@
+install2:
+ su -c 'make install'
+
+install:
+ mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards
+ mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards/firewall_wizard
+ mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards/firewall_wizard/scripts
+ mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards/firewall_wizard/images
+ install --mode=u=rw,g=r,o=r -p firewall.wiz ${prefix}/share/wizards/firewall_wizard
+ install --mode=u=rw,g=r,o=r -p firewall.en.wpo ${prefix}/share/wizards/firewall_wizard
+ install --mode=u=rw,g=r,o=r -p firewall.fr.wpo ${prefix}/share/wizards/firewall_wizard
+ install --mode=u=rw,g=r,o=r -p firewall.de.wpo ${prefix}/share/wizards/firewall_wizard
+ install --mode=u=rw,g=r,o=r -p firewall.es.wpo ${prefix}/share/wizards/firewall_wizard
+ install --mode=u=rw,g=r,o=r -p firewall.it.wpo ${prefix}/share/wizards/firewall_wizard
+ install --mode=a=r -p ./images/firewall.jpg ${prefix}/share/wizards/firewall_wizard/images
+ install --mode=u=rw,g=r,o=r -p scripts/FWconf.pm ${prefix}/share/wizards/firewall_wizard/scripts
+ install --mode=u=rwx,g=rx,o=rx -p scripts/*.sh ${prefix}/share/wizards/firewall_wizard/scripts
+ find scripts -name "*.default" -exec install --mode=u=rw,g=r,o=r -p {} ${prefix}/share/wizards/firewall_wizard/scripts \;
+ find scripts -name "*.patch" -exec install --mode=u=rw,g=r,o=r -p {} ${prefix}/share/wizards/firewall_wizard/scripts \;
+
+run:
+ (su -c "make install; unset WIZPATH; export DEBUG_WIZ='/dev/pts/0'; wiz /usr/share/wizards/firewall_wizard/firewall.wiz")
+
+desktop:
+ cp -f desktop_data/firewall_wizard\ wiz ${HOME}/Desktop
+ cp -f desktop_data/util1.gif ${HOME}/.kde/share/icons/