Makefile.am 1 KB
Newer Older
David Zeuthen's avatar
David Zeuthen committed
1 2
## Process this file with automake to produce Makefile.in

3
SUBDIRS = libpolkit modules doc tools privileges
David Zeuthen's avatar
David Zeuthen committed
4 5

pkgconfigdir = $(libdir)/pkgconfig
6
pkgconfig_DATA = libpolkit.pc
David Zeuthen's avatar
David Zeuthen committed
7

8
DISTCLEANFILES = libpolkit.pc
David Zeuthen's avatar
David Zeuthen committed
9

10
EXTRA_DIST = HACKING libpolkit.pc.in mkinstalldirs
David Zeuthen's avatar
David Zeuthen committed
11

David Zeuthen's avatar
David Zeuthen committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
# 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

EXTRA_DIST = HACKING libpolkit.pc.in mkinstalldirs ChangeLog


David Zeuthen's avatar
David Zeuthen committed
34 35
clean-local :
	rm -f *~