]> git.proxmox.com Git - corosync-pve.git/commitdiff
add reference to git version
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 22 Aug 2013 10:01:08 +0000 (12:01 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 22 Aug 2013 10:01:08 +0000 (12:01 +0200)
Makefile
debian/corosync-pve.docs
debian/libcorosync-pve-dev.docs [new file with mode: 0644]
debian/libcorosync4-pve.docs [new file with mode: 0644]

index 2837f18ed30e69566a1ec74c14345608db1b6fc7..8d8f50521605695d04f598f6005cd88411c244fa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ CSDIR=corosync-${CSVERSION}
 CSSRC=corosync-${CSVERSION}.orig.tar.gz
 
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+GITVERSION:=$(shell cat .git/refs/heads/master)
 
 DEBS=                                                                  \
        corosync-pve_${CSVERSION}-${CSRELEASE}_${ARCH}.deb              \
@@ -22,6 +23,8 @@ ${DEBS}: ${CSSRC}
        rm -rf ${CSDIR}
        tar xf ${CSSRC} 
        cp -a debian ${CSDIR}/debian
+       echo "git clone git://git.proxmox.com/git/corosync-pve.git\\ngit checkout ${GITVERSION}" >  ${CSDIR}/debian/SOURCE
+
        cd ${CSDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
 
 .PHONY: upload
index bc3a5a33495dadb66b5ef1e051f5c053dbac5a28..f8a6039f985afa3e2f2707a0982a7f409f483f23 100644 (file)
@@ -3,3 +3,4 @@ README.devmap
 README.recovery
 SECURITY
 TODO
+debian/SOURCE
diff --git a/debian/libcorosync-pve-dev.docs b/debian/libcorosync-pve-dev.docs
new file mode 100644 (file)
index 0000000..8696672
--- /dev/null
@@ -0,0 +1 @@
+debian/SOURCE
diff --git a/debian/libcorosync4-pve.docs b/debian/libcorosync4-pve.docs
new file mode 100644 (file)
index 0000000..8696672
--- /dev/null
@@ -0,0 +1 @@
+debian/SOURCE