summaryrefslogtreecommitdiff
path: root/Build/source/libs/zziplib/include/zzip/Makefile.am
blob: a1de19ed2971dd0fed56b1db629a5d28f9110dc0 (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
28
29
30
31
32
33
34
35
36
## Proxy Makefile.am to install zziplib headers for TeX Live.
##
##   Copyright (C) 2010 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.
##
ZZIPLIB_SRC = $(top_srcdir)/$(ZZIPLIB_TREE)/zzip

ZZIPLIB_HDRS = \
	$(ZZIPLIB_SRC)/autoconf.h \
	$(ZZIPLIB_SRC)/conf.h \
	$(ZZIPLIB_SRC)/fetch.h \
	$(ZZIPLIB_SRC)/file.h \
	$(ZZIPLIB_SRC)/format.h \
	$(ZZIPLIB_SRC)/info.h \
	$(ZZIPLIB_SRC)/lib.h \
	$(ZZIPLIB_SRC)/plugin.h \
	$(ZZIPLIB_SRC)/stdint.h \
	$(ZZIPLIB_SRC)/types.h \
	$(ZZIPLIB_SRC)/write.h \
	$(ZZIPLIB_SRC)/zzip.h

all-local:
	@for file in $(ZZIPLIB_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