diff options
Diffstat (limited to 'Build/source/texk/web2c/man')
-rw-r--r-- | Build/source/texk/web2c/man/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/man/Makefile.am | 22 | ||||
-rw-r--r-- | Build/source/texk/web2c/man/Makefile.in | 14 |
3 files changed, 20 insertions, 20 deletions
diff --git a/Build/source/texk/web2c/man/ChangeLog b/Build/source/texk/web2c/man/ChangeLog index 85650b52c57..fbc4f61bde8 100644 --- a/Build/source/texk/web2c/man/ChangeLog +++ b/Build/source/texk/web2c/man/ChangeLog @@ -1,3 +1,7 @@ +2011-02-08 Peter Breitenlohner <peb@mppmu.mpg.de> + + * Makefile.am: Use ../../am/man1_links.am for manpage links. + 2010-12-23 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am (install-data-hook): Check symlink creation. diff --git a/Build/source/texk/web2c/man/Makefile.am b/Build/source/texk/web2c/man/Makefile.am index 1c13063df99..f134c9f25f4 100644 --- a/Build/source/texk/web2c/man/Makefile.am +++ b/Build/source/texk/web2c/man/Makefile.am @@ -1,6 +1,6 @@ ## Makefile.am for the TeX Live subdirectory texk/web2c/man/ ## -## Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org> +## Copyright (C) 2009 - 2011 Peter Breitenlohner <tex-live@tug.org> ## You may freely use, modify and/or distribute this file. ## man_sources = $(bootstrap_man_sources) @@ -81,21 +81,11 @@ misc_man_sources = \ include $(top_srcdir)/../am/man.am -install-data-hook: - @cd $(DESTDIR)$(man1dir) && \ - for s in $(man1_links); do \ - link=`echo $$s | sed 's,.*:,,'`; \ - file=`echo $$s | sed 's,:.*,,'`; \ - rm -f $$link.1; \ - echo "creating link '$$link.1' -> '$$file.1'"; \ - $(LN_S) $$file.1 $$link.1 || exit 1; \ - done - -uninstall-hook: - @for s in $(man1_links); do \ - link=`echo $$s | sed 's,.*:,,'`; \ - rm -f $(DESTDIR)$(man1dir)/$$link.1; \ - done +include $(top_srcdir)/../am/man1_links.am + +install-data-hook: install-man1-links + +uninstall-hook:uninstall-man1-links ## Obsolete ? ## diff --git a/Build/source/texk/web2c/man/Makefile.in b/Build/source/texk/web2c/man/Makefile.in index bce2a3b42f5..89c0fbba1c4 100644 --- a/Build/source/texk/web2c/man/Makefile.in +++ b/Build/source/texk/web2c/man/Makefile.in @@ -48,7 +48,8 @@ host_triplet = @host@ @ALEPH_TRUE@am__append_13 = aleph.man @ALEPH_TRUE@am__append_14 = aleph:lamed DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/../am/man.am ChangeLog + $(top_srcdir)/../am/man.am $(top_srcdir)/../am/man1_links.am \ + ChangeLog subdir = man ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/web2c-disable.m4 \ @@ -343,7 +344,7 @@ all: all-am .SUFFIXES: .SUFFIXES: .1 .man .ps .dvi -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/../am/man.am $(am__configure_deps) +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/../am/man.am $(top_srcdir)/../am/man1_links.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -613,8 +614,9 @@ sedscript: $(KPATHSEA_PATHS_H)/kpathsea/paths.h .1.ps: $(DITROFF) -Tps -man $< >$@ +.PHONY: install-man1-links uninstall-man1-links -install-data-hook: +install-man1-links: @cd $(DESTDIR)$(man1dir) && \ for s in $(man1_links); do \ link=`echo $$s | sed 's,.*:,,'`; \ @@ -624,12 +626,16 @@ install-data-hook: $(LN_S) $$file.1 $$link.1 || exit 1; \ done -uninstall-hook: +uninstall-man1-links: @for s in $(man1_links); do \ link=`echo $$s | sed 's,.*:,,'`; \ rm -f $(DESTDIR)$(man1dir)/$$link.1; \ done +install-data-hook: install-man1-links + +uninstall-hook:uninstall-man1-links + # 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: |