summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:38:37 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:38:37 -0500
commit51703b6050ee1e7b88a3eead1e2737ffc2dda924 (patch)
tree2be5337fa12a7f4d0d0cb025b65e55d78adb7dd6
parenta2764deaf3786e4a363d99a5306719662e445096 (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog37
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 37 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 8e5428f..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,37 +0,0 @@
-2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version for X11R7 release.
-
-2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for final X11R7 release candidate.
-
-2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC3 release.
-
-2005-11-19 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * xprintapputil.pc.in:
- Update pkgconfig files to separate library build-time dependencies
- from application build-time dependencies.
- * configure.ac:
- Update dependencies to work with separate build roots.
-
-2005-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for RC1 release.
-
-2005-07-08 Keith Packard <keithp@keithp.com>
-
- * .cvsignore:
- * include/X11/.cvsignore:
- * src/.cvsignore:
- * src/Makefile.am:
- Add .cvsignore files
- Switch _la_CFLAGS for AM_CFLAGS to clean up directory
-
diff --git a/Makefile.am b/Makefile.am
index 8d78643..9112ac2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,3 +26,13 @@ pkgconfig_DATA = xprintapputil.pc
EXTRA_DIST = xprintapputil.pc.in autogen.sh
+
+EXTRA_DIST += ChangeLog
+MAINTAINERCLEANFILES = ChangeLog
+
+.PHONY: ChangeLog
+
+ChangeLog:
+ (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
+
+dist-hook: ChangeLog