summaryrefslogtreecommitdiff
path: root/app/mkfontdir/Makefile.in
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-12 17:51:45 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-12 17:51:45 +0000
commitbd4974188d10b212cb088b568de5ff4ec8a0ab92 (patch)
tree223c8614ee8e4805603278ab6d89026f7027fe84 /app/mkfontdir/Makefile.in
parentcb5d6c5238cce7010ec08276c27ec3e8b495410f (diff)
regen
Diffstat (limited to 'app/mkfontdir/Makefile.in')
-rw-r--r--app/mkfontdir/Makefile.in34
1 files changed, 23 insertions, 11 deletions
diff --git a/app/mkfontdir/Makefile.in b/app/mkfontdir/Makefile.in
index 0741917eb..4a1371942 100644
--- a/app/mkfontdir/Makefile.in
+++ b/app/mkfontdir/Makefile.in
@@ -175,7 +175,7 @@ sysconfdir = @sysconfdir@
target_alias = @target_alias@
bin_SCRIPTS = mkfontdir
appman_PRE = mkfontdir.man
-EXTRA_DIST = mkfontdir.cpp $(appman_PRE)
+EXTRA_DIST = mkfontdir.cpp $(appman_PRE) ChangeLog
CLEANFILES = $(bin_SCRIPTS) $(appman_DATA)
appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
@@ -197,6 +197,7 @@ MAN_SUBSTS = \
-e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
SUFFIXES = .$(APP_MAN_SUFFIX) .man .cpp
+MAINTAINERCLEANFILES = ChangeLog
all: all-am
.SUFFIXES:
@@ -307,6 +308,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 \
@@ -436,6 +440,7 @@ distclean-generic:
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am
clean-am: clean-generic mostlyclean-am
@@ -487,16 +492,16 @@ uninstall-am: uninstall-appmanDATA uninstall-binSCRIPTS \
uninstall-info-am
.PHONY: all all-am am--refresh check check-am clean clean-generic dist \
- dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
- distcheck distclean distclean-generic distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-appmanDATA install-binSCRIPTS \
- install-data install-data-am install-exec install-exec-am \
- install-info install-info-am install-man install-strip \
- installcheck installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am uninstall-appmanDATA \
- uninstall-binSCRIPTS uninstall-info-am
+ dist-all dist-bzip2 dist-gzip dist-hook dist-shar dist-tarZ \
+ dist-zip distcheck distclean distclean-generic distcleancheck \
+ distdir distuninstallcheck dvi dvi-am html html-am info \
+ info-am install install-am install-appmanDATA \
+ install-binSCRIPTS install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am install-man \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
+ uninstall-appmanDATA uninstall-binSCRIPTS uninstall-info-am
.cpp:
@@ -504,6 +509,13 @@ uninstall-am: uninstall-appmanDATA uninstall-binSCRIPTS \
.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: