about summary refs log tree commit diff
path: root/templates.mk
blob: 8e8b28643f5c7b01da72c47681168bb5410fd758 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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

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