summaryrefslogtreecommitdiff
path: root/app/luit/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-10-13 20:34:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-10-13 20:34:12 +0000
commit28c1518dc93984a96b373daafef1ff07c88d62fb (patch)
treef8d74df9df20bd9cb18d9ee1ed12645a73ce3633 /app/luit/Makefile.am
parent2b0b095090d200dbb52cedaf835e295aa928bcd3 (diff)
luit 1.0.3
Diffstat (limited to 'app/luit/Makefile.am')
-rw-r--r--app/luit/Makefile.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/app/luit/Makefile.am b/app/luit/Makefile.am
index 705d239da..6299f1678 100644
--- a/app/luit/Makefile.am
+++ b/app/luit/Makefile.am
@@ -23,7 +23,7 @@ bin_PROGRAMS = luit
LOCALEALIASFILE = @LOCALEALIASFILE@
-luit_CFLAGS = $(LUIT_CFLAGS) -DLOCALE_ALIAS_FILE=\"$(LOCALEALIASFILE)\"
+AM_CFLAGS = $(LUIT_CFLAGS) -DLOCALE_ALIAS_FILE=\"$(LOCALEALIASFILE)\"
luit_LDADD = $(LUIT_LIBS)
luit_SOURCES = \
@@ -49,11 +49,20 @@ appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-EXTRA_DIST = $(appman_PRE)
+EXTRA_DIST = $(appman_PRE) ChangeLog
CLEANFILES = $(appman_DATA)
SED = sed
+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
+
# Strings to replace in man pages
XORGRELSTRING = @PACKAGE_STRING@
XORGMANNAME = X Version 11
@@ -63,6 +72,7 @@ MAN_SUBSTS = \
-e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-e 's|__xservername__|Xorg|g' \
-e 's|__xconfigfile__|xorg.conf|g' \
+ -e 's|__localealiasfile__|$(LOCALEALIASFILE)|g' \
-e 's|__projectroot__|$(prefix)|g' \
-e 's|__apploaddir__|$(appdefaultdir)|' \
-e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \