diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-20T19·29+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-20T19·29+0000 |
commit | 6f1a0f948dc5a98f2efcdafb0fdde96bebbf90da (patch) | |
tree | b25798966aefa5ca7d883ced33a19d3d754e1392 /substitute.mk | |
parent | ab350eafd2c1a98ea98090fdb3bd9b7ae4f7336b (diff) |
* Refactorings.
Diffstat (limited to 'substitute.mk')
-rw-r--r-- | substitute.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/substitute.mk b/substitute.mk new file mode 100644 index 000000000000..af3549253ca9 --- /dev/null +++ b/substitute.mk @@ -0,0 +1,8 @@ +%: %.in Makefile + sed \ + -e s^@prefix\@^$(prefix)^g \ + -e s^@bindir\@^$(bindir)^g \ + -e s^@sysconfdir\@^$(sysconfdir)^g \ + -e s^@localstatedir\@^$(localstatedir)^g \ + < $< > $@ || rm $@ + chmod +x $@ |