about summary refs log tree commit diff
path: root/mk/templates.mk
blob: fa91e25095d7b36c055faf0fb7f3cb702bbfd9c1 (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 =

  clean_files += $(1)

endef

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