Debian Codegraph @

am/hdr_links.am

raw
1 ## am/hdr_links.am: Makefile fragment for header links.
2 ##
3 ## Copyright (C) 2012-2013 Peter Breitenlohner <[email protected]>
4 ## You may freely use, modify and/or distribute this file.
5 ##
6 ## requires $(hdr_links), `install' headers in the build tree.
7 all-local:
8 @for file in $(hdr_links); do \
9 test -f $$file || continue; \
10 inst=`echo $$file | sed -e 's/^.*\///'`; \
11 test -f $$inst || { \
12 rm -f $$inst; \
13 if $(AM_V_P); then echo "$(LN_S) $$file $$inst"; \
14 else echo " INST $$inst"; fi; \
15 $(LN_S) $$file $$inst; } || exit 1; \
16 done
17
18 distclean-local:
19 rm -f *.h
20