2014-02-01 12:20:06 +01:00
|
|
|
|
template-files :=
|
2014-01-09 16:57:38 +01:00
|
|
|
|
|
2013-12-10 15:54:34 +01:00
|
|
|
|
# Create the file $(1) from $(1).in by running config.status (which
|
|
|
|
|
# substitutes all ‘@var@’ variables set by the configure script).
|
2014-02-04 11:02:49 +01:00
|
|
|
|
define instantiate-template
|
2013-12-10 15:54:34 +01:00
|
|
|
|
|
2014-02-01 12:20:06 +01:00
|
|
|
|
clean-files += $(1)
|
2013-12-10 15:54:34 +01:00
|
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
|
2014-08-20 18:39:48 +02:00
|
|
|
|
%.h: %.h.in
|
2014-08-20 18:44:15 +02:00
|
|
|
|
$(trace-gen) rm -f $@ && ./config.status --quiet --header=$@
|
2014-08-20 18:39:48 +02:00
|
|
|
|
|
2013-12-10 15:54:34 +01:00
|
|
|
|
%: %.in
|
2014-08-20 18:44:15 +02:00
|
|
|
|
$(trace-gen) rm -f $@ && ./config.status --quiet --file=$@
|