summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-07-21 17:37:48 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-07-21 17:37:48 (EDT)
commitbb1349b19eae8203b25c696b60798b9db9eab17e (patch)
tree1698aa09847be9cc33091fdedd377afca5091444 /build
parenta14510ba6ebd4fab1da5e071343c83f9d17f7aaf (diff)
ppt-make: Set PPT_VERSION with a sed macro
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/build b/build
index b8d1dd9..ef92f2d 100755
--- a/build
+++ b/build
@@ -17,4 +17,6 @@ install: build
install -D -m 0644 src/1/ppt-mkpkgs $(pkgdatadir)/1/ppt-mkpkgs
install -D -m 0755 src/ppt-rmpkgs $(bindir)/ppt-rmpkgs
install -D -m 0644 src/1/ppt-rmpkgs $(pkgdatadir)/1/ppt-rmpkgs
- install -D -m 0755 src/ppt-make $(bindir)/ppt-make
+ sed 's/@PPT_VERSION@/$(OPK_SOURCE_VERSION)/' src/ppt-make \
+ >$(bindir)/ppt-make
+ chmod 0755 $(bindir)/ppt-make