1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-13 17:10:47 +02:00

Add 'mk/' from commit '1eff3ad37f'

git-subtree-dir: mk
git-subtree-mainline: 6ef32bddc1
git-subtree-split: 1eff3ad37f
This commit is contained in:
Eelco Dolstra 2014-02-01 14:38:28 +01:00
commit 74ca70da3a
12 changed files with 492 additions and 0 deletions

12
mk/templates.mk Normal file
View file

@ -0,0 +1,12 @@
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
%: %.in
$(trace-gen) ./config.status --quiet --file $@