5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-02-25 21:57:42 +03:00

add reference to git version

This commit is contained in:
Dietmar Maurer 2013-09-02 10:45:02 +02:00
parent b7aae8e5c1
commit b98a06a32c
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,8 @@ MAN1DIR=${MANDIR}/man1/
PERLDIR=${PREFIX}/share/perl5
ARCH=all
GITVERSION:=$(shell cat .git/refs/heads/master)
DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
all: ${DEB}
@ -27,6 +29,7 @@ deb ${DEB}:
rm -rf build
rsync -a data/ build
rsync -a debian/ build/debian
echo "git clone git://git.proxmox.com/git/pve-common.git\\ngit checkout ${GITVERSION}" > build/debian/SOURCE
cd build; dpkg-buildpackage -rfakeroot -b -us -uc
lintian ${DEB}

1
debian/docs vendored Normal file
View File

@ -0,0 +1 @@
debian/SOURCE