License version 2.1, or the GNU General Public License version 2.
Both licenses are included here. Some individual source code files
-and/or binaries may be under the GPL only or under the LGPG.
+and/or binaries may be under the GPL only or under the LGPL.
Each source code file is marked with the proper copyright information.
DISTCLEANFILES = polkit.pc polkit-dbus.pc polkit-grant.pc PolicyKit.conf
-EXTRA_DIST = polkit.in polkit.pc.in polkit-dbus.pc.in polkit-grant.pc.in PolicyKit.conf.in
+EXTRA_DIST = polkit.in polkit.pc.in polkit-dbus.pc.in polkit-grant.pc.in PolicyKit.conf.in config.dtd
clean-local :
rm -f *~
EXTRA_DIST=$(man_MANS) $(MAN_IN_FILES)
clean-local:
- rm -f *~ *.1 *.8
+ rm -f *~ *.1 *.5 *.8
%: %.in Makefile
$(edit) $< >$@
# Create /var/lib/PolicyKit/reload file; this is being watched by libpolkit
# for config file changes.
install-data-local:
- -mkdir $(DESTDIR)$(localstatedir)/lib/PolicyKit
- -mkdir $(DESTDIR)$(localstatedir)/run/PolicyKit
+ -mkdir -p $(DESTDIR)$(localstatedir)/lib/PolicyKit
+ -mkdir -p $(DESTDIR)$(localstatedir)/run/PolicyKit
-chown $(POLKIT_USER):$(POLKIT_GROUP) $(DESTDIR)$(localstatedir)/lib/PolicyKit
-chown $(POLKIT_USER):$(POLKIT_GROUP) $(DESTDIR)$(localstatedir)/run/PolicyKit
-chmod 775 $(DESTDIR)$(localstatedir)/lib/PolicyKit
polkit-reload-config: polkit-reload-config.in Makefile
$(edit) $< >$@
+EXTRA_DIST = polkit-reload-config.in
+
edit = sed \
-e 's|@docdir[@]|$(docdir)|g' \
-e 's|@sbindir[@]|$(sbindir)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g'
clean-local :
- rm -f *~
-
+ rm -f *~ polkit-reload-config