aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-12 14:18:04 +0100
committerColin Guthrie <colin@mageia.org>2013-10-12 14:28:57 +0100
commitb41295b9c893a210913e8e85c71a9ba7e056973b (patch)
tree65348659fea222f6012d359b89dfab28cd9a24a6 /Makefile
parent1dd7dba00303fa14bbfcbdd0a8fe05071134754d (diff)
downloadrpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar.gz
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar.bz2
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar.xz
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.zip
polkit: Tidy up polkit support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index ea11ec5f..dccf69ad 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 5.50
NAME = rpmdrake
-DIRS = po polkit/policy data mime
+DIRS = po polkit data mime
PREFIX = /usr/local
DATADIR = $(PREFIX)/share
@@ -9,7 +9,7 @@ BINDIR = $(PREFIX)/bin
SBINDIR = $(PREFIX)/sbin
LIBEXECDIR = $(PREFIX)/libexec
RPM=$(shell rpm --eval %_topdir)
-PERL_VENDORLIB=$(DESTDIR)/$(shell perl -V:installvendorlib | perl -pi -e "s/.*=//; s/[;']//g")
+PERL_VENDORLIB=$(DESTDIR)/$(shell perl -V:installvendorlib | perl -pi -e "s/.*=//; s/[;']//g")
all: dirs
@@ -23,12 +23,15 @@ install: $(ALL)
./simplify-drakx-modules {gurpmi.addmedia,edit-urpm-sources.pl}
@for n in $(DIRS); do make -C $$n install; done
install -d $(BINDIR) $(SBINDIR) $(LIBEXECDIR)
- install rpmdrake MageiaUpdate gurpmi.addmedia $(LIBEXECDIR)
- install edit-urpm-sources.pl $(LIBEXECDIR)/drakrpm-edit-media
- install polkit/wrappers/* $(BINDIR)
- ln -sf drakrpm-edit-media $(BINDIR)/edit-urpm-sources.pl
- ln -sf rpmdrake $(BINDIR)/drakrpm
- ln -sf MageiaUpdate $(BINDIR)/drakrpm-update
+ install rpmdrake $(LIBEXECDIR)/drakrpm
+ install MageiaUpdate $(LIBEXECDIR)/drakrpm-update
+ install gurpmi.addmedia $(LIBEXECDIR)/drakrpm-addmedia
+ install edit-urpm-sources.pl $(LIBEXECDIR)/drakrpm-editmedia
+ ln -sf drakrpm-update $(BINDIR)/MageiaUpdate
+ ln -sf drakrpm-editmedia $(BINDIR)/drakrpm-edit-media
+ ln -sf drakrpm-addmedia $(BINDIR)/gurpmi.addmedia
+ ln -sf drakrpm-editmedia $(BINDIR)/edit-urpm-sources.pl
+ ln -sf drakrpm $(BINDIR)/rpmdrake
install -d $(DATADIR)/rpmdrake/icons
install -m644 icons/*.png $(DATADIR)/rpmdrake/icons
install -m644 gui.lst $(DATADIR)/rpmdrake