summaryrefslogtreecommitdiff
path: root/lib/libXaw/Makefile.in
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-09-30 13:42:30 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-09-30 13:42:30 +0000
commitda0ef05280ed34be0687c3802ab4724f7a9d063a (patch)
tree55423abaaf56eeb5e6ebfa8539a543261ef92dc7 /lib/libXaw/Makefile.in
parent43f050fc197f2e4c486a553df7f2bda27cc71da1 (diff)
merge libXaw 1.0.4
Diffstat (limited to 'lib/libXaw/Makefile.in')
-rw-r--r--lib/libXaw/Makefile.in27
1 files changed, 23 insertions, 4 deletions
diff --git a/lib/libXaw/Makefile.in b/lib/libXaw/Makefile.in
index 903584f30..a23db5ff8 100644
--- a/lib/libXaw/Makefile.in
+++ b/lib/libXaw/Makefile.in
@@ -233,8 +233,10 @@ EXTRA_DIST = xaw6.pc.in \
autogen.sh \
xaw.m4 \
old-doc/Changelog \
- old-doc/CHANGES
+ old-doc/CHANGES \
+ ChangeLog
+MAINTAINERCLEANFILES = ChangeLog
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -517,6 +519,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 \
@@ -646,6 +651,8 @@ 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)
+@PLATFORM_WIN32_TRUE@install-exec-hook:
clean: clean-recursive
clean-am: clean-generic clean-libtool mostlyclean-am
@@ -669,6 +676,8 @@ info-am:
install-data-am: install-aclocalDATA install-pkgconfigDATA
install-exec-am:
+ @$(NORMAL_INSTALL)
+ $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
install-info: install-info-recursive
@@ -702,13 +711,13 @@ 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 \
install install-aclocalDATA install-am install-data \
- install-data-am install-exec install-exec-am install-info \
- install-info-am install-man install-pkgconfigDATA \
+ install-data-am install-exec install-exec-am install-exec-hook \
+ install-info install-info-am install-man install-pkgconfigDATA \
install-strip installcheck installcheck-am installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
maintainer-clean-recursive mostlyclean mostlyclean-generic \
@@ -716,6 +725,16 @@ uninstall-info: uninstall-info-recursive
tags tags-recursive uninstall uninstall-aclocalDATA \
uninstall-am uninstall-info-am uninstall-pkgconfigDATA
+
+@PLATFORM_WIN32_FALSE@install-exec-hook:
+@PLATFORM_WIN32_FALSE@ cd $(DESTDIR)$(libdir) && rm -f libXaw.so && ln -s $(DEFAULT_LIB) libXaw.so
+
+.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: