diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-01 20:48:52 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-01 20:49:28 +0100 |
commit | 9d9ef58760337c42819f702feb0c67b9af0f2988 (patch) | |
tree | 632a032cd25056b70d880bf77435df28a043127d /Makefile | |
parent | f5111ceb201c828e3d9643ec5b35d98a30263d8a (diff) | |
download | drakx-kbd-mouse-x11-9d9ef58760337c42819f702feb0c67b9af0f2988.tar drakx-kbd-mouse-x11-9d9ef58760337c42819f702feb0c67b9af0f2988.tar.gz drakx-kbd-mouse-x11-9d9ef58760337c42819f702feb0c67b9af0f2988.tar.bz2 drakx-kbd-mouse-x11-9d9ef58760337c42819f702feb0c67b9af0f2988.tar.xz drakx-kbd-mouse-x11-9d9ef58760337c42819f702feb0c67b9af0f2988.zip |
polkit: Make the polkit policy files translatable.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -5,7 +5,6 @@ libdir=/usr/lib bindir=/usr/bin sbindir=/usr/sbin libexecdir=/usr/libexec -polkitpolicydir=/usr/share/polkit-1/actions desktopdir=/usr/share/applications autostartdir=/usr/share/autostart xinitdir=/etc/X11/xinit.d @@ -20,13 +19,15 @@ 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 check: @for p in `find lib -name *.pm`; do perl -cw -I$(libdir)/libDrakX $$p || exit 1; done @for p in tools/*; do head -n1 $$p | grep perl || continue; perl -cw $$p || exit 1; done install: - install -d $(DESTDIR){$(libdir),$(bindir),$(sbindir),$(desktopdir),$(autostartdir),$(xinitdir),$(iconsdir),$(pixmapsdir),$(libexecdir),$(polkitpolicydir)} + install -d $(DESTDIR){$(libdir),$(bindir),$(sbindir),$(desktopdir),$(autostartdir),$(xinitdir),$(iconsdir),$(pixmapsdir),$(libexecdir)} install -d $(INLIBDEST_DIRS:%=$(DESTDIR)$(libdir)/libDrakX//%) cp -a lib/*.pm $(DESTDIR)$(libdir)/libDrakX/ @@ -42,7 +43,6 @@ install: install -m755 tools/mousedrake $(DESTDIR)$(libexecdir)/drakmouse install -m755 tools/XFdrake $(DESTDIR)$(libexecdir)/drakx11 install polkit/wrappers/* $(DESTDIR)$(bindir) - install polkit/policy/* $(DESTDIR)$(polkitpolicydir) # Some compatibility name wrappers ln -s drakkeyboard $(DESTDIR)$(bindir)/keyboarddrake ln -s drakmouse $(DESTDIR)$(bindir)/mousedrake @@ -51,9 +51,11 @@ 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 clean: + make -C polkit/policy clean make -C po clean dist: |