summaryrefslogtreecommitdiff
path: root/build/buildone_ng.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/buildone_ng.sh')
-rwxr-xr-xbuild/buildone_ng.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/buildone_ng.sh b/build/buildone_ng.sh
index a9592cf35..a70e43284 100755
--- a/build/buildone_ng.sh
+++ b/build/buildone_ng.sh
@@ -12,6 +12,8 @@ if [ "$1" = "--help" ]; then
exit 0
fi
+DEBVERSION=`dpkg-parsechangelog -l ../debian/changelog -S Version`
+
arch=${1:-i386}
languages=${2:-en}
formats=${3:-html}
@@ -90,6 +92,7 @@ create_profiled () {
# Write dynamic non-profilable entities into the file
echo "<!-- arch- and lang-specific non-profilable entities -->" > $dynamic
+ echo "<!ENTITY debversion \"$DEBVERSION\">" >> $dynamic
echo "<!ENTITY langext \".${languages}\">" >> $dynamic
echo "<!ENTITY architecture \"${arch}\">" >> $dynamic
echo "<!ENTITY arch-kernel \"${arch_kernel}\">" >> $dynamic