From bdfcb6c5408cd41ccd10a838df70917b131a6aa4 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sat, 12 Oct 2013 13:31:36 +0100 Subject: polkit: Tidy up polkit support --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c145ed2..41c39cf 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,8 @@ all: $(INLIBDEST_DIRS) install -d auto (find lib -name '*.pm'; find tools -type f) | xargs perl -pi -e 's/\s*use\s+(diagnostics|vars|strict).*//g' for i in po $(INLIBDEST_DIRS); do make -C $$i; done - make -C polkit/policy make -C po + make -C polkit check: @for p in `find lib -name *.pm`; do perl -cw -I$(libdir)/libDrakX $$p || exit 1; done @@ -42,7 +42,6 @@ install: install -m755 tools/keyboarddrake $(DESTDIR)$(libexecdir)/drakkeyboard install -m755 tools/mousedrake $(DESTDIR)$(libexecdir)/drakmouse install -m755 tools/XFdrake $(DESTDIR)$(libexecdir)/drakx11 - install polkit/wrappers/* $(DESTDIR)$(bindir) # Some compatibility name wrappers ln -s drakkeyboard $(DESTDIR)$(bindir)/keyboarddrake ln -s drakmouse $(DESTDIR)$(bindir)/mousedrake @@ -51,12 +50,12 @@ install: #install -m644 $(wildcard data/*.desktop) $(DESTDIR)$(desktopdir) #install -m644 $(wildcard data/icons/*.png) $(DESTDIR)$(iconsdir) install -m644 $(wildcard data/pixmaps/*.png) $(DESTDIR)$(pixmapsdir) - make -C polkit/policy install make -C po install + make -C polkit install clean: - make -C polkit/policy clean make -C po clean + make -C polkit clean dist: rm -rf ../$(NAME)-$(VERSION).tar* -- cgit v1.2.1