diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-24 08:05:21 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-24 08:05:21 +0000 |
commit | e75c1ca802e8338ab6601788163bec9bb0591128 (patch) | |
tree | 0c82c700aca33a171763c921c9b5eac4d369eb01 /Build/source/libs/am | |
parent | 6c7a45745172cf952ad650c99af32f22411cd454 (diff) |
build system: New Makefile fragment to `install' headers in the build tree.
git-svn-id: svn://tug.org/texlive/trunk@25493 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/am')
-rw-r--r-- | Build/source/libs/am/hdr_links.am | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/libs/am/hdr_links.am b/Build/source/libs/am/hdr_links.am new file mode 100644 index 00000000000..b37a54f5904 --- /dev/null +++ b/Build/source/libs/am/hdr_links.am @@ -0,0 +1,19 @@ +## libs/am/hdr_links.am: Makefile fragment for header links. +## +## Copyright (C) 2012 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; \ + echo "$(LN_S) $$file $$inst"; \ + $(LN_S) $$file $$inst; } || exit 1; \ + done + +distclean-local: + rm -f *.h + |