summaryrefslogtreecommitdiff
path: root/app/xrdb/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-20 16:42:59 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-20 16:42:59 +0000
commitc8ef90d9bc15e8f128d49e0493d0f702baedd05d (patch)
tree7f8645d05ba32ea015d71931a4f1825cfebbd818 /app/xrdb/Makefile.am
parent869956e95c111dc12f2411080c446c4f30869963 (diff)
update to xrdb 1.0.5
Diffstat (limited to 'app/xrdb/Makefile.am')
-rw-r--r--app/xrdb/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/xrdb/Makefile.am b/app/xrdb/Makefile.am
index 4e379afd1..a4e93ed14 100644
--- a/app/xrdb/Makefile.am
+++ b/app/xrdb/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = xrdb
-xrdb_CFLAGS = $(XRDB_CFLAGS)
+AM_CFLAGS = $(XRDB_CFLAGS)
xrdb_LDADD = $(XRDB_LIBS)
xrdb_SOURCES = \
@@ -34,8 +34,16 @@ appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-EXTRA_DIST = $(appman_PRE)
+EXTRA_DIST = $(appman_PRE) ChangeLog autogen.sh
CLEANFILES = $(appman_DATA)
+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
SED = sed