diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-06 09:40:06 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-06 09:40:06 +0000 |
commit | 832b5ce3848de5ca76c493570fc066f450ec8011 (patch) | |
tree | 52b629b6cd51b3769658ae55dc1f511c0bcac222 /Build/source/am/hdr_links.am | |
parent | 7d7828afcc587d0e0889fb0a62cdfe25c53cb9d2 (diff) |
build system: Move Makefile fragments from libs/am/ and texk/am/ to top-level/am.
git-svn-id: svn://tug.org/texlive/trunk@31117 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/am/hdr_links.am')
-rw-r--r-- | Build/source/am/hdr_links.am | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Build/source/am/hdr_links.am b/Build/source/am/hdr_links.am new file mode 100644 index 00000000000..4985c32ca2a --- /dev/null +++ b/Build/source/am/hdr_links.am @@ -0,0 +1,20 @@ +## am/hdr_links.am: Makefile fragment for header links. +## +## Copyright (C) 2012-2013 Peter Breitenlohner <tex-live@tug.org> +## You may freely use, modify and/or distribute this file. +## +## requires $(hdr_links), `install' headers in the build tree. +all-local: + @for file in $(hdr_links); do \ + test -f $$file || continue; \ + inst=`echo $$file | sed -e 's/^.*\///'`; \ + test -f $$inst || { \ + rm -f $$inst; \ + if $(AM_V_P); then echo "$(LN_S) $$file $$inst"; \ + else echo " INST $$inst"; fi; \ + $(LN_S) $$file $$inst; } || exit 1; \ + done + +distclean-local: + rm -f *.h + |