about summary refs log tree commit diff
path: root/templates.mk
blob: 84364297b359860c68a3c391d62897f66c604a1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
template-files :=

# Create the file $(1) from $(1).in by running config.status (which
# substitutes all ‘@var@’ variables set by the configure script).
define instantiate-template

  clean-files += $(1)

endef

%.h: %.h.in
	$(trace-gen) ./config.status --quiet --header=$@

%: %.in
	$(trace-gen) ./config.status --quiet --file=$@