diff options
Diffstat (limited to 'lib/libXRes/Makefile.am')
-rw-r--r-- | lib/libXRes/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libXRes/Makefile.am b/lib/libXRes/Makefile.am index 9e5326258..5429b3aeb 100644 --- a/lib/libXRes/Makefile.am +++ b/lib/libXRes/Makefile.am @@ -1,5 +1,4 @@ # -# $Xorg: Makefile.am,v 1.1.1.1 2006/11/25 16:50:23 matthieu Exp $ # # Copyright © 2003 Keith Packard, Noah Levitt # @@ -34,6 +33,7 @@ EXTRA_DIST = xres.pc.in autogen.sh ChangeLog CLEANFILES = ChangeLog -ChangeLog: FORCE - git-log > ChangeLog -FORCE: 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 |