Codebase list policykit-1-gnome / debian/0.8-2 Makefile.am
debian/0.8-2

Tree @debian/0.8-2 (Download .tar.gz)

Makefile.am @debian/0.8-2raw · history · blame

SUBDIRS = data src polkit-gnome tools

if BUILD_EXAMPLES
SUBDIRS += examples
endif

# Need to build docs after examples because the docs include generated files 
SUBDIRS += doc po

# 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 = \
	autogen.sh		\
	intltool-extract.in	\
	intltool-merge.in	\
	intltool-update.in	\
	TODO			\
	HACKING			\
	ChangeLog

DISTCLEANFILES = \
	intltool-extract	\
	intltool-merge		\
	intltool-update

clean-local :
	rm -f *~ po/*~