about summary refs log tree commit diff
path: root/third_party/nix/mk/templates.mk
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/mk/templates.mk')
-rw-r--r--third_party/nix/mk/templates.mk19
1 files changed, 0 insertions, 19 deletions
diff --git a/third_party/nix/mk/templates.mk b/third_party/nix/mk/templates.mk
deleted file mode 100644
index c7ac7afbff27..000000000000
--- a/third_party/nix/mk/templates.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-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
-
-ifneq ($(MAKECMDGOALS), clean)
-
-%.h: %.h.in
-	$(trace-gen) rm -f $@ && ./config.status --quiet --header=$@
-
-%: %.in
-	$(trace-gen) rm -f $@ && ./config.status --quiet --file=$@
-
-endif