File: Makefile.am

package info (click to toggle)
testu01 1.2.3%2Bds-2
  • links: PTS, VCS
  • area: non-free
  • in suites: stretch
  • size: 17,740 kB
  • ctags: 4,799
  • sloc: ansic: 52,384; makefile: 241; sh: 53
file content (35 lines) | stat: -rw-r--r-- 950 bytes parent folder | download | duplicates (4)
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
pkgincludearchdir = $(includedir)/$(DEB_HOST_MULTIARCH)/testu01

%.h: ${MYLIB}/%.tex
	${top_builddir}/tcode $< $@

%.h: ${PROBDIST}/%.tex
	${top_builddir}/tcode $< $@

%.h: ${TESTU01}/%.tex
	${top_builddir}/tcode $< $@

include Makefile.def

pkgincludearch_HEADERS = gdefconf.h
pkginclude_HEADERS = $(MYLIBHEADERS) $(PROBDISTHEADERS) $(TESTU01HEADERS)

noinst_HEADERS = $(MYLIBTEX) $(PROBDISTTEX) $(TESTU01TEX)
noinst_SCRIPTS = makedef

header-links: remove-links $(pkginclude_HEADERS) $(pkgincludearch_HEADERS)
	$(MKDIR_P) testu01
	for h in $(pkginclude_HEADERS) $(pkgincludearch_HEADERS) ; do test -e testu01/$$h || $(LN_S) ../$$h testu01/$$h ; done

remove-links:
	[ ! -d testu01 ] || rm -f testu01/*.h

all-local: header-links

clean-local: remove-links
	[ ! -d testu01 ] || rmdir testu01 || true

CLEANFILES = $(MYLIBHEADERS) $(PROBDISTHEADERS) $(TESTU01HEADERS) gdefconf.h
MAINTAINERCLEANFILES = Makefile.in Makefile.def

EXTRA_DIST = mymap.mk