summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 77742127..f6cba808 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
VERSION = $(shell awk '/define version/ { print $$3 }' $(NAME).spec)
NAME = drakconf
-SUBDIRS = po
+SUBDIRS = po pixmaps
localedir = $(prefix)/usr/share/locale
RPM=$(HOME)/rpm
@@ -21,12 +21,11 @@ install: all
$(MAKE) -C po $@
install -d $(RPM_BUILD_ROOT)/usr/{X11R6/bin/,share/{icons,doc/$(NAME)-$(VERSION)}}
install -d $(RPM_BUILD_ROOT)/usr/sbin
+ install -d $(RPM_BUILD_ROOT)/usr/share/drakconf
install -s -m755 $(NAME) $(RPM_BUILD_ROOT)/usr/X11R6/bin/
install -m755 clock.pm $(RPM_BUILD_ROOT)/usr/sbin/
- install -m755 menus.pm $(RPM_BUILD_ROOT)/usr/sbin/
- install -m755 print.pm $(RPM_BUILD_ROOT)/usr/sbin/
-# install -m644 pixmaps/*.xpm $(RPM_BUILD_ROOT)/usr/share/icons/
- install -m644 pixmaps/*.png $(RPM_BUILD_ROOT)/usr/share/icons/
+ install -m755 menus_launcher.pm $(RPM_BUILD_ROOT)/usr/sbin/
+ install -m755 print_launcher.pm $(RPM_BUILD_ROOT)/usr/sbin/
install -m644 COPYING $(RPM_BUILD_ROOT)/usr/share/doc/$(NAME)-$(VERSION)/
for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done