mirror of
https://github.com/NixOS/nix.git
synced 2024-10-31 22:30:52 +00:00
16 lines
359 B
Makefile
16 lines
359 B
Makefile
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) rm -f $@ && ./config.status --quiet --header=$@
|
||
|
||
%: %.in
|
||
$(trace-gen) rm -f $@ && ./config.status --quiet --file=$@
|