From e62859c5e57098b12b9696747e940d600776b6b3 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 30 Mar 2019 12:57:19 +0100 Subject: [PATCH] ship commit hash and repo we build from Signed-off-by: Thomas Lamprecht --- Makefile | 2 ++ debian/docs | 1 + 2 files changed, 3 insertions(+) create mode 100644 debian/docs diff --git a/Makefile b/Makefile index 2acc225..0950238 100644 --- a/Makefile +++ b/Makefile @@ -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} diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..8696672 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +debian/SOURCE