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