diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-01-02T16·04+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-01-02T16·04+0000 |
commit | 9ff365709541b8f50fddcf667ded07a5b9f774de (patch) | |
tree | 8d9780afe6dbc0c36fd6108b5d3004bf90a1f0a1 /substitute.mk | |
parent | 0e09cc12c08ad2db0b8620ca537bd81ca45c05df (diff) |
* Generate RPM spec file.
Diffstat (limited to 'substitute.mk')
-rw-r--r-- | substitute.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/substitute.mk b/substitute.mk index cc21eba40245..bbdb9b617b4f 100644 --- a/substitute.mk +++ b/substitute.mk @@ -8,5 +8,6 @@ -e "s^@libexecdir\@^$(libexecdir)^g" \ -e "s^@system\@^$(system)^g" \ -e "s^@wget\@^$(wget)^g" \ + -e "s^@version\@^$(VERSION)^g" \ < $< > $@ || rm $@ - chmod +x $@ + if test -x $<; then chmod +x $@; fi |