summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/hdrs.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/poppler/hdrs.am')
-rw-r--r--Build/source/libs/poppler/hdrs.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/libs/poppler/hdrs.am b/Build/source/libs/poppler/hdrs.am
new file mode 100644
index 00000000000..80876177a35
--- /dev/null
+++ b/Build/source/libs/poppler/hdrs.am
@@ -0,0 +1,19 @@
+## libs/xpdf/hdrs.am: Makefile fragment to create header symlinks.
+##
+## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+##
+## This file is free software; the copyright holder
+## gives unlimited permission to copy and/or distribute it,
+## with or without modifications, as long as this notice is preserved.
+##
+all-local:
+ @for file in $(SRCDIR)/*.h; do \
+ 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
+