summary refs log tree commit diff
path: root/mk/templates.mk
blob: 09bae50e8af0d9cdd462f1e6ea14e2aca931f691 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# Create the file $(1) from $(1).in by running config.status (which
# substitutes all ‘@var@’ variables set by the configure script).
define instantiate-template =

  $(1): $(1).in
	./config.status --file $(1)

  clean_files += $(1)

endef