From b379e1721f86ad4ae4f60d8a0aa2199e3d879bbc Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Mon, 29 Aug 2005 09:20:27 +0000 Subject: add icons in drakwizard rpm --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 220b3ee8..80155aa6 100644 --- a/Makefile +++ b/Makefile @@ -49,6 +49,12 @@ install: install --mode=a=r -p $$l/scripts/*.default ${prefix}/share/wizards/$$l/scripts; \ fi \ done + for l in $(WIZ); do \ + if ls $$l/images/*.png &> /dev/null ; then \ + install --mode=u=rwx,g=rx,o=rx -d ${prefix}/share/wizards/$$l/images/; \ + install --mode=a=r -p $$l/images/*.png ${prefix}/share/wizards/$$l/images/;\ + fi \ + done install --mode=a=r -p news_wizard/scripts/news.cron ${prefix}/share/wizards/news_wizard/scripts/; \ find ${prefix}/$(PERL_VENDORLIB)/MDK/Wizard -type f -regex ".*.pm$$" \ -exec perl -i -pe "s,(\\\$$ENV{__WIZ_HOME__}|__WIZ_HOME__),$(WIZ_HOME),g" \{\} \; -- cgit v1.2.1