diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-12-10T14·54+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-12-10T14·54+0100 |
commit | 49a385096e08b42277b7105d5d8d1e0e62b6b7a4 (patch) | |
tree | 91b5ca200905ecf88d827752ba8b5a14fe1c9be7 /mk/templates.mk |
Initial commit (imported from the Nix repo)
Diffstat (limited to 'mk/templates.mk')
-rw-r--r-- | mk/templates.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mk/templates.mk b/mk/templates.mk new file mode 100644 index 000000000000..fa91e25095d7 --- /dev/null +++ b/mk/templates.mk @@ -0,0 +1,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 $@ |