diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-12-29 14:05:59 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-12-29 14:05:59 +0000 |
commit | a7c9a7ff1a6d0925eafe21175304c494e266b319 (patch) | |
tree | 2d106049b3e3dbcd8e158a9f8c4bd0b72982e693 /Build | |
parent | f1cb3d4245e2e5d8857c8db3b455fb3a2ec593c5 (diff) |
utils/texdoctk: Minor build system fix
git-svn-id: svn://tug.org/texlive/trunk@28653 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/utils/texdoctk/Makefile.am | 6 | ||||
-rw-r--r-- | Build/source/utils/texdoctk/Makefile.in | 104 | ||||
-rw-r--r-- | Build/source/utils/texdoctk/ac/withenable.ac | 7 |
3 files changed, 59 insertions, 58 deletions
diff --git a/Build/source/utils/texdoctk/Makefile.am b/Build/source/utils/texdoctk/Makefile.am index e9f6d2bd261..3d38b3af774 100644 --- a/Build/source/utils/texdoctk/Makefile.am +++ b/Build/source/utils/texdoctk/Makefile.am @@ -8,8 +8,6 @@ ACLOCAL_AMFLAGS = -I ../../m4 EXTRA_DIST = -dist-hook: # in case of an SVN repository - rm -rf `find $(distdir) -name .svn` perl_scripts = texdoctk scriptsdir = texmf/scripts/texdoctk @@ -18,12 +16,12 @@ nodist_bin_SCRIPTS = include $(srcdir)/../../texk/am/script_links.am # texmfdir = $(datarootdir)/$(scriptsdir) -nodist_texmf_SCRIPTS = texdoctk.pl +dist_texmf_SCRIPTS = texdoctk.pl install-data-hook: install-perl-links uninstall-hook: uninstall-links -man1_MANS = texdoctk.1 +dist_man1_MANS = texdoctk.1 CLEANFILES = $(nodist_bin_SCRIPTS) diff --git a/Build/source/utils/texdoctk/Makefile.in b/Build/source/utils/texdoctk/Makefile.in index 0c3cd286038..f0ff885197c 100644 --- a/Build/source/utils/texdoctk/Makefile.in +++ b/Build/source/utils/texdoctk/Makefile.in @@ -48,9 +48,10 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -DIST_COMMON = README $(am__configure_deps) \ - $(srcdir)/../../texk/am/script_links.am $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(top_srcdir)/../../build-aux/install-sh \ +DIST_COMMON = README $(am__configure_deps) $(dist_man1_MANS) \ + $(dist_texmf_SCRIPTS) $(srcdir)/../../texk/am/script_links.am \ + $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(top_srcdir)/../../build-aux/install-sh \ $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \ ../../build-aux/config.guess ../../build-aux/config.sub \ ../../build-aux/depcomp ../../build-aux/install-sh \ @@ -95,9 +96,9 @@ am__uninstall_files_from_dir = { \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } -am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(texmfdir)" \ +am__installdirs = "$(DESTDIR)$(texmfdir)" "$(DESTDIR)$(bindir)" \ "$(DESTDIR)$(man1dir)" -SCRIPTS = $(nodist_bin_SCRIPTS) $(nodist_texmf_SCRIPTS) +SCRIPTS = $(dist_texmf_SCRIPTS) $(nodist_bin_SCRIPTS) SOURCES = DIST_SOURCES = am__can_run_installinfo = \ @@ -107,7 +108,7 @@ am__can_run_installinfo = \ esac man1dir = $(mandir)/man1 NROFF = nroff -MANS = $(man1_MANS) +MANS = $(dist_man1_MANS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) @@ -221,8 +222,8 @@ all_scripts = $(lua_scripts) $(perl_scripts) $(shell_scripts) # # texmfdir = $(datarootdir)/$(scriptsdir) -nodist_texmf_SCRIPTS = texdoctk.pl -man1_MANS = texdoctk.1 +dist_texmf_SCRIPTS = texdoctk.pl +dist_man1_MANS = texdoctk.1 CLEANFILES = $(nodist_bin_SCRIPTS) all: all-am @@ -262,12 +263,12 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): -install-nodist_binSCRIPTS: $(nodist_bin_SCRIPTS) +install-dist_texmfSCRIPTS: $(dist_texmf_SCRIPTS) @$(NORMAL_INSTALL) - @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ + @list='$(dist_texmf_SCRIPTS)'; test -n "$(texmfdir)" || list=; \ if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + echo " $(MKDIR_P) '$(DESTDIR)$(texmfdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(texmfdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ @@ -286,23 +287,23 @@ install-nodist_binSCRIPTS: $(nodist_bin_SCRIPTS) while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ - echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(texmfdir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(texmfdir)$$dir" || exit $$?; \ } \ ; done -uninstall-nodist_binSCRIPTS: +uninstall-dist_texmfSCRIPTS: @$(NORMAL_UNINSTALL) - @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ + @list='$(dist_texmf_SCRIPTS)'; test -n "$(texmfdir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ - dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) -install-nodist_texmfSCRIPTS: $(nodist_texmf_SCRIPTS) + dir='$(DESTDIR)$(texmfdir)'; $(am__uninstall_files_from_dir) +install-nodist_binSCRIPTS: $(nodist_bin_SCRIPTS) @$(NORMAL_INSTALL) - @list='$(nodist_texmf_SCRIPTS)'; test -n "$(texmfdir)" || list=; \ + @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(texmfdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(texmfdir)" || exit 1; \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ @@ -321,20 +322,20 @@ install-nodist_texmfSCRIPTS: $(nodist_texmf_SCRIPTS) while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ - echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(texmfdir)$$dir'"; \ - $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(texmfdir)$$dir" || exit $$?; \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done -uninstall-nodist_texmfSCRIPTS: +uninstall-nodist_binSCRIPTS: @$(NORMAL_UNINSTALL) - @list='$(nodist_texmf_SCRIPTS)'; test -n "$(texmfdir)" || exit 0; \ + @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ - dir='$(DESTDIR)$(texmfdir)'; $(am__uninstall_files_from_dir) -install-man1: $(man1_MANS) + dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) +install-man1: $(dist_man1_MANS) @$(NORMAL_INSTALL) - @list1='$(man1_MANS)'; \ + @list1='$(dist_man1_MANS)'; \ list2=''; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ @@ -368,7 +369,7 @@ install-man1: $(man1_MANS) uninstall-man1: @$(NORMAL_UNINSTALL) - @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \ + @list='$(dist_man1_MANS)'; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ @@ -427,9 +428,6 @@ distdir: $(DISTFILES) || exit 1; \ fi; \ done - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$(top_distdir)" distdir="$(distdir)" \ - dist-hook -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ @@ -558,7 +556,7 @@ check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(MANS) installdirs: - for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(texmfdir)" "$(DESTDIR)$(man1dir)"; do \ + for dir in "$(DESTDIR)$(texmfdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am @@ -613,7 +611,7 @@ info: info-am info-am: -install-data-am: install-man install-nodist_texmfSCRIPTS +install-data-am: install-dist_texmfSCRIPTS install-man @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am @@ -660,8 +658,8 @@ ps: ps-am ps-am: -uninstall-am: uninstall-man uninstall-nodist_binSCRIPTS \ - uninstall-nodist_texmfSCRIPTS +uninstall-am: uninstall-dist_texmfSCRIPTS uninstall-man \ + uninstall-nodist_binSCRIPTS @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook uninstall-man: uninstall-man1 @@ -669,28 +667,25 @@ uninstall-man: uninstall-man1 .MAKE: install-am install-data-am install-strip uninstall-am .PHONY: all all-am am--refresh check check-am clean clean-generic dist \ - dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \ - dist-tarZ dist-xz dist-zip distcheck distclean \ - distclean-generic distcleancheck distdir distuninstallcheck \ - dvi dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-data-hook install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-man1 install-nodist_binSCRIPTS \ - install-nodist_texmfSCRIPTS install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ + dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ + dist-xz dist-zip distcheck distclean distclean-generic \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-data-hook install-dist_texmfSCRIPTS \ + install-dvi install-dvi-am install-exec install-exec-am \ + install-html install-html-am install-info install-info-am \ + install-man install-man1 install-nodist_binSCRIPTS install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am uninstall uninstall-am uninstall-hook \ - uninstall-man uninstall-man1 uninstall-nodist_binSCRIPTS \ - uninstall-nodist_texmfSCRIPTS + pdf-am ps ps-am uninstall uninstall-am \ + uninstall-dist_texmfSCRIPTS uninstall-hook uninstall-man \ + uninstall-man1 uninstall-nodist_binSCRIPTS -dist-hook: # in case of an SVN repository - rm -rf `find $(distdir) -name .svn` .PHONY: install-lua-links install-perl-links install-shell-links install-sh-links \ install-links uninstall-links @WIN32_TRUE@@WIN32_WRAP_TRUE@$(wrappers): $(runscript) -@WIN32_TRUE@@WIN32_WRAP_TRUE@ $(LN_S) $(runscript) $@ +@WIN32_TRUE@@WIN32_WRAP_TRUE@ $(AM_V_GEN)$(LN_S) $(runscript) $@ install-lua-links: @WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=lua EXT=lua install-links @@ -714,7 +709,8 @@ install-links: cd $(DESTDIR)$(bindir) && \ for f in $($(TYPE)_scripts); do \ rm -f $$f; \ - echo "creating link '$$f' -> '$$REL/$(scriptsdir)/$$f.$(EXT)'"; \ + if $(AM_V_P); then echo "creating link '$$f' -> '$$REL/$(scriptsdir)/$$f.$(EXT)'"; \ + else echo " LINK $$f"; fi; \ $(LN_S) $$REL/$(scriptsdir)/$$f.$(EXT) $$f || exit 1; \ done diff --git a/Build/source/utils/texdoctk/ac/withenable.ac b/Build/source/utils/texdoctk/ac/withenable.ac new file mode 100644 index 00000000000..6fc30cea165 --- /dev/null +++ b/Build/source/utils/texdoctk/ac/withenable.ac @@ -0,0 +1,7 @@ +## utils/texdoctk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/texdoctk/ +dnl +dnl Copyright (C) 2012 Peter Breitenlohner <tex-live@tug.org> +dnl You may freely use, modify and/or distribute this file. +dnl +## configure options and TL libraries required for texdoctk +KPSE_ENABLE_PROG([texdoctk]) |