diff --git a/lib/libXt/Makefile.am b/lib/libXt/Makefile.am index cbf225327..812fa9f02 100644 --- a/lib/libXt/Makefile.am +++ b/lib/libXt/Makefile.am @@ -1,6 +1,3 @@ -# -# $Xorg: Makefile.am,v 1.1.1.1 2006/11/25 18:01:50 matthieu Exp $ -# # Copyright © 2003 Keith Packard, Noah Levitt # # Permission to use, copy, modify, distribute, and sell this software and its @@ -29,5 +26,11 @@ AM_CFLAGS = $(XT_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/include/X11 -I$ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = xt.pc -EXTRA_DIST = xt.pc.in autogen.sh +EXTRA_DIST = xt.pc.in ChangeLog autogen.sh +MAINTAINERCLEANFILES=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