diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.am | 14 |
2 files changed, 15 insertions, 0 deletions
@@ -21,6 +21,7 @@ libtool ltmain.sh missing stamp-h1 +ChangeLog test/previewer test/mime diff --git a/Makefile.am b/Makefile.am index b4b5bc3..e75b49a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,15 @@ SUBDIRS = src test + +EXTRA_DIST = ChangeLog +changelog_cmd = GIT_DIR=$(top_srcdir)/.git $(SHELL) $(top_srcdir)/missing \ + --run git log +ChangeLog: + $(AM_V_GEN)if $(changelog_cmd) > $(top_srcdir)/$@.tmp; then \ + mv $(top_srcdir)/$@.tmp $(top_srcdir)/$@; \ + else \ + rm -f $(top_srcdir)/$@.tmp; \ + touch $(top_srcdir)/$@; \ + echo 'could not create $(top_srcdir)/$@'; \ + fi + +.PHONY: ChangeLog |