1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/Makefile.am Mon Jun 30 13:26:55 2008 -0400
1.3 @@ -0,0 +1,38 @@
1.4 +## Process this file with automake to produce Makefile.in
1.5 +
1.6 +SUBDIRS = data docs librazor src po
1.7 +
1.8 +# Creating ChangeLog from git log (taken from cairo/Makefile.am):
1.9 +ChangeLog: $(srcdir)/ChangeLog
1.10 +
1.11 +$(srcdir)/ChangeLog:
1.12 + @if test -d "$(srcdir)/.git"; then \
1.13 + (cd "$(srcdir)" && \
1.14 + ./missing --run git-log --stat) | fmt --split-only > $@.tmp \
1.15 + && mv -f $@.tmp $@ \
1.16 + || ($(RM) $@.tmp; \
1.17 + echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
1.18 + (test -f $@ || echo git-log is required to generate this file >> $@)); \
1.19 + else \
1.20 + test -f $@ || \
1.21 + (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
1.22 + echo A git checkout and git-log is required to generate this file >> $@); \
1.23 + fi
1.24 +
1.25 +.PHONY: ChangeLog $(srcdir)/ChangeLog
1.26 +
1.27 +EXTRA_DIST = \
1.28 + TODO \
1.29 + ChangeLog \
1.30 + intltool-extract.in \
1.31 + intltool-merge.in \
1.32 + intltool-update.in
1.33 +
1.34 +DISTCLEANFILES = \
1.35 + intltool-extract \
1.36 + intltool-merge \
1.37 + intltool-update
1.38 +
1.39 +clean-local :
1.40 + rm -f *~
1.41 +