diff options
Diffstat (limited to 'Build/source/libs/teckit/include')
-rw-r--r-- | Build/source/libs/teckit/include/teckit/Makefile.am | 16 | ||||
-rw-r--r-- | Build/source/libs/teckit/include/teckit/Makefile.in | 12 |
2 files changed, 10 insertions, 18 deletions
diff --git a/Build/source/libs/teckit/include/teckit/Makefile.am b/Build/source/libs/teckit/include/teckit/Makefile.am index 7ab89da5884..072f9c4681b 100644 --- a/Build/source/libs/teckit/include/teckit/Makefile.am +++ b/Build/source/libs/teckit/include/teckit/Makefile.am @@ -1,6 +1,6 @@ ## Proxy Makefile.am to install TECkit headers for TeX Live. ## -## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> +## Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> ## ## This file is free software; the copyright holder ## gives unlimited permission to copy and/or distribute it, @@ -8,20 +8,10 @@ ## TECKIT_SRC = $(top_srcdir)/$(TECKIT_TREE)/source/Public-headers -TECKIT_HDRS = \ +hdr_links = \ $(TECKIT_SRC)/TECkit_Common.h \ $(TECKIT_SRC)/TECkit_Compiler.h \ $(TECKIT_SRC)/TECkit_Engine.h -all-local: - @for file in $(TECKIT_HDRS); do \ - test -f $$file || continue; \ - inst=`echo $$file | sed -e 's/^.*\///'`; \ - test -f $$inst || { \ - echo "$(LN_S) $$file $$inst"; \ - $(LN_S) $$file $$inst; } || exit 1; \ - done - -distclean-local: - rm -f *.h +include $(top_srcdir)/../am/hdr_links.am diff --git a/Build/source/libs/teckit/include/teckit/Makefile.in b/Build/source/libs/teckit/include/teckit/Makefile.in index cb8caa3ff53..259a2ec5516 100644 --- a/Build/source/libs/teckit/include/teckit/Makefile.in +++ b/Build/source/libs/teckit/include/teckit/Makefile.in @@ -33,8 +33,9 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(top_srcdir)/../am/hdr_links.am subdir = include/teckit -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \ $(top_srcdir)/../../m4/kpse-cxx-hack.m4 \ @@ -160,7 +161,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ TECKIT_SRC = $(top_srcdir)/$(TECKIT_TREE)/source/Public-headers -TECKIT_HDRS = \ +hdr_links = \ $(TECKIT_SRC)/TECkit_Common.h \ $(TECKIT_SRC)/TECkit_Compiler.h \ $(TECKIT_SRC)/TECkit_Engine.h @@ -168,7 +169,7 @@ TECKIT_HDRS = \ all: all-am .SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/../am/hdr_links.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -189,6 +190,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; +$(top_srcdir)/../am/hdr_links.am: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh @@ -348,12 +350,12 @@ uninstall-am: maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am - all-local: - @for file in $(TECKIT_HDRS); do \ + @for file in $(hdr_links); do \ test -f $$file || continue; \ inst=`echo $$file | sed -e 's/^.*\///'`; \ test -f $$inst || { \ + rm -f $$inst; \ echo "$(LN_S) $$file $$inst"; \ $(LN_S) $$file $$inst; } || exit 1; \ done |