diff options
author | SARL ENR-68 <david@david.david> | 2013-12-22 22:58:54 +0100 |
---|---|---|
committer | SARL ENR-68 <david@david.david> | 2013-12-22 22:58:54 +0100 |
commit | 2e6c8115416714c469b79ba93d3cc6f59b569585 (patch) | |
tree | 2a481ace6206763bc760f01bb7252a0841d7e8d1 /Makefile | |
parent | e3a4978e3ea5e99e97d58302b43656ba70681126 (diff) | |
download | isodumper-2e6c8115416714c469b79ba93d3cc6f59b569585.tar isodumper-2e6c8115416714c469b79ba93d3cc6f59b569585.tar.gz isodumper-2e6c8115416714c469b79ba93d3cc6f59b569585.tar.bz2 isodumper-2e6c8115416714c469b79ba93d3cc6f59b569585.tar.xz isodumper-2e6c8115416714c469b79ba93d3cc6f59b569585.zip |
Modifications to have authentication with polkit
-use mageia polkit policy instead of usermode.
-drop usermode-consoleonly package.
-update Makefile.
-update spec file.
-update Readme file.
-update Changelog file.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -17,6 +17,8 @@ PREFIX=/usr/local BINDIR=$(PREFIX)/bin SBINDIR=$(PREFIX)/sbin LIBDIR=$(PREFIX)/lib +LIBEXECDIR=$(PREFIX)/libexec +POLKITPOLICYDIR=$(PREFIX)/share/polkit-1/actions DATADIR=$(PREFIX)/share ICONSDIR=$(PREFIX)/share/icons PIXMAPSDIR=$(PREFIX)/share/pixmaps @@ -34,12 +36,19 @@ clean: install: all - # for binary file isodumper on /usr/sbin/ - mkdir -p $(DESTDIR)$(SBINDIR) - install -m 755 isodumper $(DESTDIR)$(SBINDIR) - # Adjust for console-helper magic + # for binary file script isodumper on /usr/libexec/ + mkdir -p $(DESTDIR)$(LIBEXECDIR) + install -m 755 isodumper $(DESTDIR)$(LIBEXECDIR) + + # for binary file isodumper on /usr/bin/ + # to have authentication with polkit (use for mageia policy) mkdir -p $(DESTDIR)$(BINDIR) - cd $(DESTDIR)$(BINDIR); ln -s consolehelper isodumper + install -m 755 bin/isodumper $(DESTDIR)$(BINDIR) + + # for policy file isodumper on /usr/share/polkit-1/actions/ + # to have authentication with polkit (use for mageia policy) + mkdir -p $(DESTDIR)$(POLKITPOLICYDIR) + install -m 644 share/polkit-1/actions/org.mageia.isodumper.policy $(DESTDIR)$(POLKITPOLICYDIR) # for LIBFILES isodumper.py find_devices mkdir -p $(DESTDIR)$(LIBDIR)/isodumper |