mirror of
https://github.com/NixOS/nix
synced 2025-07-16 02:01:59 +02:00
Add a function for instantiating Autoconf *.in files
This commit is contained in:
parent
f980755766
commit
ed0a8dd71a
3 changed files with 14 additions and 4 deletions
8
mk/templates.mk
Normal file
8
mk/templates.mk
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Create the file $(1) from $(1).in by running config.status (which
|
||||
# substitutes all ‘@var@’ variables set by the configure script).
|
||||
define instantiate-template =
|
||||
|
||||
$(1): $(1).in
|
||||
./config.status --file $(1)
|
||||
|
||||
endef
|
Loading…
Add table
Add a link
Reference in a new issue