summaryrefslogtreecommitdiff
path: root/Build/source/libs/gd/include
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-02-24 08:05:21 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-02-24 08:05:21 +0000
commite75c1ca802e8338ab6601788163bec9bb0591128 (patch)
tree0c82c700aca33a171763c921c9b5eac4d369eb01 /Build/source/libs/gd/include
parent6c7a45745172cf952ad650c99af32f22411cd454 (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/gd/include')
-rw-r--r--Build/source/libs/gd/include/Makefile.am18
-rw-r--r--Build/source/libs/gd/include/Makefile.in12
2 files changed, 10 insertions, 20 deletions
diff --git a/Build/source/libs/gd/include/Makefile.am b/Build/source/libs/gd/include/Makefile.am
index 3662692f58d..96940a3bd16 100644
--- a/Build/source/libs/gd/include/Makefile.am
+++ b/Build/source/libs/gd/include/Makefile.am
@@ -1,6 +1,6 @@
## Proxy Makefile.am to install headers 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,7 +8,7 @@
##
GD_SRC = $(top_srcdir)/$(GD_TREE)
-GD_HDRS = \
+hdr_links = \
$(GD_SRC)/entities.h \
$(GD_SRC)/gd.h \
$(GD_SRC)/gd_io.h \
@@ -23,17 +23,5 @@ GD_HDRS = \
$(GD_SRC)/jisx0208.h \
$(GD_SRC)/wbmp.h
-all-local:
- @for file in $(GD_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/gd/include/Makefile.in b/Build/source/libs/gd/include/Makefile.in
index 0d00c37a0f4..333700d301a 100644
--- a/Build/source/libs/gd/include/Makefile.in
+++ b/Build/source/libs/gd/include/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
-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-freetype2-flags.m4 \
@@ -182,7 +183,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
GD_SRC = $(top_srcdir)/$(GD_TREE)
-GD_HDRS = \
+hdr_links = \
$(GD_SRC)/entities.h \
$(GD_SRC)/gd.h \
$(GD_SRC)/gd_io.h \
@@ -200,7 +201,7 @@ GD_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*) \
@@ -221,6 +222,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
@@ -387,12 +389,12 @@ uninstall-am:
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
uninstall uninstall-am
-
all-local:
- @for file in $(GD_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