summaryrefslogtreecommitdiff
path: root/Build/source/libs/teckit/teckit/Makefile.am
blob: 36e5522a210eb65c4715a6db24c63b161722807c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## Proxy Makefile.am to install TECkit headers for TeX Live.
##
##   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.
##
TECKIT_SRC = $(top_srcdir)/$(TECKIT_TREE)/source/Public-headers

TECKIT_HDRS = \
	$(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 $$f || 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