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