From 9d4ad4b20182d19157518e5032476ecd8314feb8 Mon Sep 17 00:00:00 2001 From: Arnaud Desmons Date: Fri, 26 Jul 2002 09:36:30 +0000 Subject: adding install for *.pm --- news_wizard/Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 news_wizard/Makefile (limited to 'news_wizard/Makefile') diff --git a/news_wizard/Makefile b/news_wizard/Makefile new file mode 100644 index 00000000..497b6d31 --- /dev/null +++ b/news_wizard/Makefile @@ -0,0 +1,29 @@ +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/news_wizard + mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards/news_wizard/scripts + mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards/news_wizard/images + install --mode=u=rw,g=r,o=r -p news.wiz ${prefix}/share/wizards/news_wizard + install --mode=u=rw,g=r,o=r -p news.en.wpo ${prefix}/share/wizards/news_wizard + install --mode=u=rw,g=r,o=r -p news.fr.wpo ${prefix}/share/wizards/news_wizard + install --mode=u=rw,g=r,o=r -p news.de.wpo ${prefix}/share/wizards/news_wizard + install --mode=u=rw,g=r,o=r -p news.es.wpo ${prefix}/share/wizards/news_wizard + install --mode=u=rw,g=r,o=r -p news.it.wpo ${prefix}/share/wizards/news_wizard + install --mode=a=r -p ./images/news.jpg ${prefix}/share/wizards/news_wizard/images + install --mode=u=rwx,g=rx,o=rx -p scripts/*.sh ${prefix}/share/wizards/news_wizard/scripts + install --mode=u=rw,g=r,o=r -p scripts/Newsconf.pm ${prefix}/share/wizards/news_wizard/scripts + find scripts -name "*.default" -exec cp '{}' ${prefix}/share/wizards/news_wizard/scripts \; + find scripts -name "*.patch" -exec cp '{}' ${prefix}/share/wizards/news_wizard/scripts \; + find scripts -name "*.cron" -exec cp '{}' ${prefix}/share/wizards/news_wizard/scripts \; + + +run: + (su -c "make install; unset WIZPATH; export DEBUG_WIZ='/dev/pts/0'; wiz /usr/share/wizards/news_wizard/news.wiz") + +desktop: + cp -f desktop_data/news_wizard\ wiz ${HOME}/Desktop + cp -f desktop_data/util1.gif ${HOME}/.kde/share/icons/ + -- cgit v1.2.1