summaryrefslogtreecommitdiffstats
path: root/samba_wizard
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-07-26 09:36:30 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-07-26 09:36:30 +0000
commit9d4ad4b20182d19157518e5032476ecd8314feb8 (patch)
tree89a8fe17265057c434e4adf548f4a1e7fab912a2 /samba_wizard
parent2f36de3e050d051244f93c807ba2556e30c297f7 (diff)
downloaddrakwizard-9d4ad4b20182d19157518e5032476ecd8314feb8.tar
drakwizard-9d4ad4b20182d19157518e5032476ecd8314feb8.tar.gz
drakwizard-9d4ad4b20182d19157518e5032476ecd8314feb8.tar.bz2
drakwizard-9d4ad4b20182d19157518e5032476ecd8314feb8.tar.xz
drakwizard-9d4ad4b20182d19157518e5032476ecd8314feb8.zip
adding install for *.pm
Diffstat (limited to 'samba_wizard')
-rw-r--r--samba_wizard/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/samba_wizard/Makefile b/samba_wizard/Makefile
new file mode 100644
index 00000000..19a06c7a
--- /dev/null
+++ b/samba_wizard/Makefile
@@ -0,0 +1,27 @@
+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/samba_wizard
+ mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards/samba_wizard/scripts
+ mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards/samba_wizard/images
+ install --mode=u=rw,g=r,o=r -p samba.wiz ${prefix}/share/wizards/samba_wizard
+ install --mode=u=rw,g=r,o=r -p samba.en.wpo ${prefix}/share/wizards/samba_wizard
+ install --mode=u=rw,g=r,o=r -p samba.fr.wpo ${prefix}/share/wizards/samba_wizard
+ install --mode=u=rw,g=r,o=r -p samba.de.wpo ${prefix}/share/wizards/samba_wizard
+ install --mode=u=rw,g=r,o=r -p samba.es.wpo ${prefix}/share/wizards/samba_wizard
+ install --mode=u=rw,g=r,o=r -p samba.it.wpo ${prefix}/share/wizards/samba_wizard
+ install --mode=a=r -p ./images/samba.jpg ${prefix}/share/wizards/samba_wizard/images
+ install --mode=u=rwx,g=rx,o=rx -p scripts/*.sh ${prefix}/share/wizards/samba_wizard/scripts
+ install --mode=u=rw,g=r,o=r -p scripts/Smbconf.pm ${prefix}/share/wizards/samba_wizard/scripts
+ find scripts -name "*.default" -exec install --mode=u=rw,g=r,o=r -p {} ${prefix}/share/wizards/samba_wizard/scripts \;
+ find scripts -name "*.patch" -exec install --mode=u=rw,g=r,o=r -p {} ${prefix}/share/wizards/samba_wizard/scripts \;
+ find scripts -name "*.pl" -exec install --mode=u=rwx,g=rx,o=rx -p {} ${prefix}/share/wizards/samba_wizard/scripts \;
+
+run:
+ (su -c "make install; unset WIZPATH; export DEBUG_WIZ='/dev/pts/0'; wiz /usr/share/wizards/samba_wizard/samba.wiz")
+
+desktop:
+ cp -f desktop_data/samba_wizard\ wiz ${HOME}/Desktop
+ cp -f desktop_data/util1.gif ${HOME}/.kde/share/icons/