summaryrefslogtreecommitdiff
path: root/lib/libXext/Makefile.in
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-03 10:42:20 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-03 10:42:20 +0000
commit2c2f074daf7312452390661cf76e5ecbc0f0141c (patch)
treee106e263bcf245b499ae6f5e6b2be8453e492401 /lib/libXext/Makefile.in
parentfeedb8fd64eae017ed56e448a530524ffdc6ef49 (diff)
regen
Diffstat (limited to 'lib/libXext/Makefile.in')
-rw-r--r--lib/libXext/Makefile.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/libXext/Makefile.in b/lib/libXext/Makefile.in
index cd489ddcc..57846976e 100644
--- a/lib/libXext/Makefile.in
+++ b/lib/libXext/Makefile.in
@@ -206,7 +206,8 @@ target_alias = @target_alias@
SUBDIRS = man src
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xext.pc
-EXTRA_DIST = xext.pc.in
+EXTRA_DIST = xext.pc.in ChangeLog autogen.sh
+MAINTAINERCLEANFILES = ChangeLog
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -468,6 +469,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 \
@@ -597,6 +601,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-recursive
clean-am: clean-generic clean-libtool mostlyclean-am
@@ -652,7 +657,7 @@ uninstall-info: uninstall-info-recursive
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
check-am clean clean-generic clean-libtool clean-recursive \
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
- dist-shar dist-tarZ dist-zip distcheck distclean \
+ dist-hook dist-shar dist-tarZ dist-zip distcheck distclean \
distclean-generic distclean-hdr distclean-libtool \
distclean-recursive distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
@@ -666,6 +671,11 @@ uninstall-info: uninstall-info-recursive
uninstall uninstall-am uninstall-info-am \
uninstall-pkgconfigDATA
+
+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: