make it so that the displayed version is only the one set in the changelog

This commit is contained in:
Antoine Beaupré 2008-04-15 15:42:33 +00:00
parent 27b4d9d2a6
commit 83f15dca0e
1 changed files with 2 additions and 1 deletions

3
debian/rules vendored
View File

@ -48,7 +48,8 @@ install: build
cp -r bureau/* debian/alternc/var/alternc/bureau
(cd src && $(MAKE) install DESTDIR=$(CURDIR)/debian/alternc)
sed -i -e "s/@@REPLACED_DURING_BUILD@@/${VERSION}/" debian/alternc/var/alternc/bureau/class/local.php
# we don't use the full VERSION intepreted but only what's in the changelog
sed -i -e "s/@@REPLACED_DURING_BUILD@@/${MAJOR}/" debian/alternc/var/alternc/bureau/class/local.php
# Fix permisions
chmod 755 debian/alternc/etc/alternc