Version 2.28.0
[platform/upstream/gnome-common.git] / Makefile.am
index fff3490..5cc9fec 100644 (file)
@@ -1,5 +1,19 @@
 SUBDIRS = macros2 doc-build
 
-EXTRA_DIST = gnome-common.spec gnome-common.spec.in doc/usage.txt
+EXTRA_DIST = \
+       autogen.sh \
+       gnome-common.doap \
+       gnome-common.spec \
+       gnome-common.spec.in \
+       doc/usage.txt \
+       ChangeLog.pre-git
 
+# Build ChangeLog from GIT  history
+ChangeLog:
+       $(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
+               GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
+       fi
 
+dist: ChangeLog
+
+.PHONY: ChangeLog