diff options
author | P. 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) |
commit | bb1349b19eae8203b25c696b60798b9db9eab17e (patch) | |
tree | 1698aa09847be9cc33091fdedd377afca5091444 | |
parent | a14510ba6ebd4fab1da5e071343c83f9d17f7aaf (diff) |
ppt-make: Set PPT_VERSION with a sed macro
-rwxr-xr-x | build | 4 | ||||
-rw-r--r-- | src/ppt-make | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -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 diff --git a/src/ppt-make b/src/ppt-make index 63e03f6..b676971 100644 --- a/src/ppt-make +++ b/src/ppt-make @@ -2,7 +2,7 @@ set -eu -PPT_VERSION='1.0.0' +PPT_VERSION='@PPT_VERSION@' PLATFORM= MAINTAINER_NAME= MAINTAINER_MAILBOX= |