summaryrefslogtreecommitdiff
path: root/app/xkbcomp/Makefile.in
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-20 16:32:07 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-20 16:32:07 +0000
commit9b8aded9a19c91688b00e7bf46b0d1e750e6a470 (patch)
treee3ddb92d209bc7900db61285b0e9ca6ea0eb5c08 /app/xkbcomp/Makefile.in
parent59965ed6bc7f64f2121f10508622f5d58c8a8c1b (diff)
Update to xkbcomp 1.0.4
Diffstat (limited to 'app/xkbcomp/Makefile.in')
-rw-r--r--app/xkbcomp/Makefile.in18
1 files changed, 14 insertions, 4 deletions
diff --git a/app/xkbcomp/Makefile.in b/app/xkbcomp/Makefile.in
index bb6ac5a0d..6f6557e70 100644
--- a/app/xkbcomp/Makefile.in
+++ b/app/xkbcomp/Makefile.in
@@ -254,8 +254,8 @@ appman_PRE = \
xkbcomp.man
BUILT_SOURCES = xkbparse.c
-MAINTAINERCLEANFILES = $(BUILT_SOURCES)
-EXTRA_DIST = README.config README.enhancing $(appman_PRE)
+MAINTAINERCLEANFILES = $(BUILT_SOURCES) ChangeLog
+EXTRA_DIST = README.config README.enhancing $(appman_PRE) ChangeLog
appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
CLEANFILES = $(appman_DATA)
@@ -516,6 +516,9 @@ distdir: $(DISTFILES)
|| exit 1; \
fi; \
done
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$(top_distdir)" distdir="$(distdir)" \
+ dist-hook
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
@@ -705,8 +708,8 @@ uninstall-am: uninstall-appmanDATA uninstall-binPROGRAMS \
.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
- dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
- distclean-compile distclean-generic distclean-hdr \
+ dist-gzip dist-hook dist-shar dist-tarZ dist-zip distcheck \
+ distclean distclean-compile distclean-generic distclean-hdr \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \
install-appmanDATA install-binPROGRAMS install-data \
@@ -721,6 +724,13 @@ uninstall-am: uninstall-appmanDATA uninstall-binPROGRAMS \
.man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
+
+.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
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: