From: Dietmar Maurer Date: Fri, 23 Aug 2013 09:41:32 +0000 (+0200) Subject: add reference to git version X-Git-Url: https://git.proxmox.com/?p=openais-pve.git;a=commitdiff_plain;h=HEAD;hp=d20603044e909db0a160ee86fcc4acf44b39b6f6 add reference to git version --- diff --git a/Makefile b/Makefile index 930fb60..e390907 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ AISDIR=openais-${AISVERSION} AISSRC=openais-${AISVERSION}.orig.tar.gz ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) +GITVERSION:=$(shell cat .git/refs/heads/master) DEBS= \ openais-pve_${AISVERSION}-${AISRELEASE}_${ARCH}.deb \ @@ -19,6 +20,7 @@ ${DEBS}: ${AISSRC} rm -rf ${AISDIR} tar xf ${AISSRC} cp -av debian ${AISDIR}/debian + echo "git clone git://git.proxmox.com/git/openais-pve.git\\ngit checkout ${GITVERSION}" > ${AISDIR}/debian/SOURCE cd ${AISDIR}; dpkg-buildpackage -rfakeroot -b -us -uc download: diff --git a/debian/libopenais-pve-dev.docs b/debian/libopenais-pve-dev.docs new file mode 100644 index 0000000..8696672 --- /dev/null +++ b/debian/libopenais-pve-dev.docs @@ -0,0 +1 @@ +debian/SOURCE diff --git a/debian/libopenais3-pve.docs b/debian/libopenais3-pve.docs new file mode 100644 index 0000000..8696672 --- /dev/null +++ b/debian/libopenais3-pve.docs @@ -0,0 +1 @@ +debian/SOURCE diff --git a/debian/openais-pve.docs b/debian/openais-pve.docs index 983dbad..83cd7df 100644 --- a/debian/openais-pve.docs +++ b/debian/openais-pve.docs @@ -1 +1,2 @@ README.amf +debian/SOURCE