summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild4
-rw-r--r--src/ppt-make2
2 files changed, 4 insertions, 2 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
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=