summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-28 14:58:36 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-28 14:58:36 +0000
commite2823ec46af81c6aa19fed837f5d3ae480e9b584 (patch)
tree16706eb1ad7e3b939b710332332e51ecae4372c1 /Makefile
parentdbf3eedfa26354380361a88d095dab7f02ec0cae (diff)
downloadcontrol-center-e2823ec46af81c6aa19fed837f5d3ae480e9b584.tar
control-center-e2823ec46af81c6aa19fed837f5d3ae480e9b584.tar.gz
control-center-e2823ec46af81c6aa19fed837f5d3ae480e9b584.tar.bz2
control-center-e2823ec46af81c6aa19fed837f5d3ae480e9b584.tar.xz
control-center-e2823ec46af81c6aa19fed837f5d3ae480e9b584.zip
add a wrapper to generate a config file enabling to disabling some icons
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 81bf9a7e..eb94bd43 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ NAME = drakconf
SUBDIRS = po pixmaps #data
localedir = $(DESTDIR)/usr/share/locale
mcc_dir = $(DESTDIR)/usr/share/mcc
+SYSCONFDIR = $(DESTDIR)/etc/sysconfig
PERL_VENDORLIB=$(DESTDIR)/$(shell perl -V:installvendorlib | perl -pi -e "s/.*=//; s/[;']//g")
override CFLAGS += -DPACKAGE=\"$(NAME)\" -DLOCALEDIR=\"$(localedir)\"
@@ -34,6 +35,9 @@ install: all
for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done
mkdir -p $(PERL_VENDORLIB)/MDV/
install -m 644 lib/MDV/*.pm $(PERL_VENDORLIB)/MDV/
+ ./generate-conf-file.pl
+ mkdir -p $(SYSCONFDIR)
+ install -m 644 mcc.conf $(SYSCONFDIR)
dis: clean
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*