summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-12 13:50:02 +0100
committerColin Guthrie <colin@mageia.org>2013-10-12 13:53:45 +0100
commit811ac7a07941f11e4e8acfcba9b75d50d009f798 (patch)
tree08cab7d5b63f664e8eed372708919cffe17a76d2 /Makefile
parent348852a7c7a039f8c53dd017ea7f4d4f03bbca92 (diff)
downloadcontrol-center-811ac7a07941f11e4e8acfcba9b75d50d009f798.tar
control-center-811ac7a07941f11e4e8acfcba9b75d50d009f798.tar.gz
control-center-811ac7a07941f11e4e8acfcba9b75d50d009f798.tar.bz2
control-center-811ac7a07941f11e4e8acfcba9b75d50d009f798.tar.xz
control-center-811ac7a07941f11e4e8acfcba9b75d50d009f798.zip
polkit: Tidy up polkit support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 239c8d25..d0cdbc5c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
VERSION = 12.42
NAME = drakconf
-SUBDIRS = po pixmaps polkit/policy #data
+SUBDIRS = po pixmaps polkit #data
localedir = $(DESTDIR)/usr/share/locale
mcc_dir = $(DESTDIR)/usr/share/mcc
SYSCONFDIR = $(DESTDIR)/etc/sysconfig
@@ -18,14 +18,12 @@ drakconf:
cp -l control-center drakconf
clean:
- $(MAKE) -C po $@
- $(MAKE) -C polkit/policy $@
rm -f *~ drakconf core .#*[0-9] core.* *.bak
- for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done
+ for d in $(SUBDIRS); do ( make -C $$d $@ ) ; done
install: all
$(MAKE) -C po $@
- $(MAKE) -C polkit/policy $@
+ $(MAKE) -C polkit $@
find -name '*.p[lm]' -o -name control-center -o -name drakconf | xargs perl -pi -e 's/\s*use\s+(diagnostics|vars|strict).*//g'
install -d $(DESTDIR)/usr/{bin,sbin,libexec,share/icons}
install -d $(mcc_dir)/themes/default/
@@ -35,7 +33,6 @@ install: all
install -m755 menus_launcher.pl $(DESTDIR)/usr/sbin/
install -m755 print_launcher.pl $(DESTDIR)/usr/sbin/
install -m755 drakxconf $(DESTDIR)/usr/libexec/
- install -m755 polkit/wrappers/drakxconf $(DESTDIR)/usr/bin
install -m755 drakconsole $(DESTDIR)/usr/sbin/
install -m755 mdkwebadmin.pl $(DESTDIR)/usr/bin/
for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done