ship commit hash and repo we build from

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-03-30 12:57:19 +01:00
parent f0e4870b4f
commit e62859c5e5
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ PKGVER=1.0
PKGREL=24
BUILDDIR ?= build
GITVERSION:=$(shell git rev-parse HEAD)
DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
DSC=${PACKAGE}_${PKGVER}-${PKGREL}.dsc
@ -60,6 +61,7 @@ all:
${BUILDDIR}:
rm -rf ${BUILDDIR}
rsync -a * ${BUILDDIR}
echo "git clone git://git.proxmox.com/git/proxmox-widget-toolkit.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian/SOURCE
.PHONY: deb
deb: ${DEB}

1
debian/docs vendored Normal file
View File

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