]> git.proxmox.com Git - gfs2-utils.git/commitdiff
add reference to git version stable-3
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 22 Aug 2013 10:48:39 +0000 (12:48 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 22 Aug 2013 10:48:39 +0000 (12:48 +0200)
Makefile
debian/docs

index 08f8afc0b4cc21c455b587dbc54c74d1e11be0fa..101cdc27e46e57c5f9a2702f1ee37a6cfb7ae5c7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ GFSUVER=3.1.3
 GFSUDIR=gfs2-utils
 GFSUSRC=gfs2-utils-${GFSUVER}.tar.gz
 
+GITVERSION:=$(shell cat .git/refs/heads/master)
 
 DEB=${PACKAGE}_${GFSUVER}-${PKGREL}_amd64.deb
 
@@ -17,6 +18,7 @@ ${DEB} deb: ${GFSUSRC}
        cd ${GFSUDIR}; ./autogen.sh
        cp -av debian ${GFSUDIR}/debian
        cat ${GFSUDIR}/doc/COPYRIGHT >>${GFSUDIR}/debian/copyright
+       echo "git clone git://git.proxmox.com/git/gfs2-utils.git\\ngit checkout ${GITVERSION}" > ${GFSUDIR}/debian/SOURCE
        cd ${GFSUDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
        lintian -X copyright-file ${DEB}
 
index 8b7332d302863d8f311280e537575d05c0d3c152..1729ad57a442fe45904c86a0b9fc880daad23974 100644 (file)
@@ -2,3 +2,4 @@ README.build
 doc/usage.txt
 doc/gfs2.txt
 doc/journaling.txt
+debian/SOURCE