summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-02-19 10:29:58 +0000
committerdamien <damien@mandriva.com>2002-02-19 10:29:58 +0000
commitef07099dd9baa6d8e68735e11cb4c3dcb48fdeb0 (patch)
tree7b1199633b482ca04625d64e3299d4dd72d1dd5f
parent4ddbd54a5f431ada8b79ec5ce5fb67b4d5c7bdb3 (diff)
downloadcontrol-center-ef07099dd9baa6d8e68735e11cb4c3dcb48fdeb0.tar
control-center-ef07099dd9baa6d8e68735e11cb4c3dcb48fdeb0.tar.gz
control-center-ef07099dd9baa6d8e68735e11cb4c3dcb48fdeb0.tar.bz2
control-center-ef07099dd9baa6d8e68735e11cb4c3dcb48fdeb0.tar.xz
control-center-ef07099dd9baa6d8e68735e11cb4c3dcb48fdeb0.zip
new idons politic
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index f6cba808..7e58e12d 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ NAME = drakconf
SUBDIRS = po pixmaps
localedir = $(prefix)/usr/share/locale
RPM=$(HOME)/rpm
+mcc_dir = $(RPM_BUILD_ROOT)/usr/share/mcc
override CFLAGS += -DPACKAGE=\"$(NAME)\" -DLOCALEDIR=\"$(localedir)\"
@@ -21,11 +22,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_launcher.pm $(RPM_BUILD_ROOT)/usr/sbin/
- install -m755 print_launcher.pm $(RPM_BUILD_ROOT)/usr/sbin/
+ install -d $(RPM_BUILD_ROOT)/$(mcc_dir)
+ install -m755 $(NAME) $(RPM_BUILD_ROOT)/usr/X11R6/bin/
+ install -m755 clock.pl $(RPM_BUILD_ROOT)/usr/sbin/
+ install -m755 menus_launcher.pl $(RPM_BUILD_ROOT)/usr/sbin/
+ install -m755 print_launcher.pl $(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