Commit 0973db30 authored by David Zeuthen's avatar David Zeuthen

stop disting ChangeLog and start disting modules/PolicyKit.conf

Am happy to report that 'make distcheck' now works!
parent 3638c6c1
......@@ -5,29 +5,9 @@ SUBDIRS = libpolkit modules doc tools privileges
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libpolkit.pc
# Creating ChangeLog from git log (taken from cairo/Makefile.am):
ChangeLog: $(srcdir)/ChangeLog
$(srcdir)/ChangeLog:
@if test -d "$(srcdir)/.git"; then \
(cd "$(srcdir)" && \
./missing --run git-log --stat) | fmt --split-only > $@.tmp \
&& mv -f $@.tmp $@ \
|| ($(RM) $@.tmp; \
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
(test -f $@ || echo git-log is required to generate this file >> $@)); \
else \
test -f $@ || \
(echo A git checkout and git-log is required to generate ChangeLog >&2 && \
echo A git checkout and git-log is required to generate this file >> $@); \
fi
.PHONY: ChangeLog $(srcdir)/ChangeLog
DISTCLEANFILES = libpolkit.pc
EXTRA_DIST = HACKING libpolkit.pc.in mkinstalldirs ChangeLog
EXTRA_DIST = HACKING libpolkit.pc.in mkinstalldirs
clean-local :
rm -f *~
......@@ -2,4 +2,4 @@
SUBDIRS = default allow-all deny-all
polkitconfdir = $(sysconfdir)/PolicyKit
polkitconf_DATA = PolicyKit.conf
dist_polkitconf_DATA = PolicyKit.conf
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment