aboutsummaryrefslogtreecommitdiff
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r--scripts/Makefile.am8
1 files changed, 1 insertions, 7 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index a8cbe8222..fb2ef566d 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -10,10 +10,4 @@ install-exec-local:
# !!! don't overwrite local modifications
$(INSTALL_DATA) prebuilts.conf $(sysconfdir)/nix/prebuilts.conf
-%: %.in Makefile
- sed \
- -e s^@prefix\@^$(prefix)^g \
- -e s^@sysconfdir\@^$(sysconfdir)^g \
- -e s^@localstatedir\@^$(localstatedir)^g \
- < $< > $@ || rm $@
- chmod +x $@
+include ../substitute.mk