Version 2.28.0
[platform/upstream/gnome-common.git] / Makefile.am
index 062e33e..5cc9fec 100644 (file)
@@ -1,15 +1,19 @@
-if PLATFORM_GNOME_2
-pkgconfig_file = gnome-common-2.0.pc
-support = support
-else
-pkgconfig_file =
-support =
-endif
+SUBDIRS = macros2 doc-build
 
-SUBDIRS = bin macros macros2 doc $(support)
+EXTRA_DIST = \
+       autogen.sh \
+       gnome-common.doap \
+       gnome-common.spec \
+       gnome-common.spec.in \
+       doc/usage.txt \
+       ChangeLog.pre-git
 
-EXTRA_DIST = gnome-common.spec gnome-common-2.0.pc.in gnome-common.pc.in
+# 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
 
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = $(pkgconfig_file) gnome-common.pc
+dist: ChangeLog
 
+.PHONY: ChangeLog