diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-12 16:05:27 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-12 16:11:06 +0100 |
commit | 9cbfa48073b47148a42b65c729423e873488c39c (patch) | |
tree | 07392e40822f14e523c2e17925aaa721156d7d5b /Makefile | |
parent | 43a9cc31a1d26614f0d7af0915588fd7c121fcfa (diff) | |
download | userdrake-9cbfa48073b47148a42b65c729423e873488c39c.tar userdrake-9cbfa48073b47148a42b65c729423e873488c39c.tar.gz userdrake-9cbfa48073b47148a42b65c729423e873488c39c.tar.bz2 userdrake-9cbfa48073b47148a42b65c729423e873488c39c.tar.xz userdrake-9cbfa48073b47148a42b65c729423e873488c39c.zip |
Use polkit for authorisation (mga#11125)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
@@ -1,4 +1,3 @@ - VERSION = 1.14 NAME = userdrake BINNAME = userdrake @@ -6,28 +5,26 @@ BINNAME = userdrake PREFIX = / DATADIR = $(PREFIX)/usr/share ICONSDIR = $(DATADIR)/icons -SBINDIR = $(PREFIX)/usr/sbin +LIBEXECDIR = $(PREFIX)/usr/libexec BINDIR = $(PREFIX)/usr/bin SYSCONFDIR = $(PREFIX)/etc/sysconfig -SBINREL = ../sbin -SUBDIRS = po +SUBDIRS = po polkit localedir = $(prefix)/usr/share/locale all: userdrake - for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done + for d in $(SUBDIRS); do ( make -C $$d $@ ) ; done clean: $(MAKE) -C po $@ rm -f core .#*[0-9] - for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done + for d in $(SUBDIRS); do ( make -C $$d $@ ) ; done install: all $(MAKE) -C po $@ - install -d $(PREFIX)/{/etc/sysconfig,usr/{bin,sbin,share/$(NAME)/pixmaps,share/icons/{mini,large}}} - install -m755 $(NAME) $(SBINDIR)/ - ln -sf $(SBINREL)/userdrake $(BINDIR)/userdrake - ln -sf $(SBINREL)/userdrake $(SBINDIR)/drakuser + install -d $(PREFIX)/{/etc/sysconfig,usr/{bin,libexec,share/$(NAME)/pixmaps,share/icons/{mini,large}}} + install -m755 $(NAME) $(LIBEXECDIR)/drakuser + ln -sf drakuser $(BINDIR)/$(NAME) install -d $(SYSCONFDIR) install -m644 userdrake.prefs $(SYSCONFDIR)/userdrake install -m644 pixmaps/*.png $(DATADIR)/$(NAME)/pixmaps @@ -35,7 +32,7 @@ install: all install -m644 icons/$(NAME)32.png $(ICONSDIR)/$(NAME).png install -m644 icons/$(NAME)48.png $(ICONSDIR)/large/$(NAME).png install -m644 icons/*selec*.png $(DATADIR)/$(NAME)/pixmaps - for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done + for d in $(SUBDIRS); do ( make -C $$d $@ ) ; done dis: dist dist: clean |