about summary refs log tree commit diff
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-18T07·42+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-18T07·42+0000
commitab350eafd2c1a98ea98090fdb3bd9b7ae4f7336b (patch)
tree14f812f4094a9bdcced05ea7cfbf5ad5c8dfe519 /scripts/Makefile.am
parentb3fc38bf6a407f962b83089b2e13cbc90dd53042 (diff)
* Generate nar.sh, fetchurl.sh.
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 a8cbe8222b07..fb2ef566da92 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