nix-gh/templates.mk

16 lines
335 B
Makefile
Raw Normal View History

2014-02-01 12:20:06 +01:00
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
2014-02-01 12:20:06 +01:00
clean-files += $(1)
endef
2014-08-20 18:39:48 +02:00
%.h: %.h.in
$(trace-gen) ./config.status --quiet --header=$@
%: %.in
2014-08-20 18:39:48 +02:00
$(trace-gen) ./config.status --quiet --file=$@