]> git.proxmox.com Git - openais-pve.git/commitdiff
add reference to git version master
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 23 Aug 2013 09:41:32 +0000 (11:41 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 23 Aug 2013 09:41:32 +0000 (11:41 +0200)
Makefile
debian/libopenais-pve-dev.docs [new file with mode: 0644]
debian/libopenais3-pve.docs [new file with mode: 0644]
debian/openais-pve.docs

index 930fb603a5e5b8327ff5b11ba46a1eca60cb22a0..e3909071eaf110aeca45f6da78e62970bb8edaf5 100644 (file)
--- 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 (file)
index 0000000..8696672
--- /dev/null
@@ -0,0 +1 @@
+debian/SOURCE
diff --git a/debian/libopenais3-pve.docs b/debian/libopenais3-pve.docs
new file mode 100644 (file)
index 0000000..8696672
--- /dev/null
@@ -0,0 +1 @@
+debian/SOURCE
index 983dbad9462f2925eb7ec21c85a5ee66c955a82e..83cd7dfb537b1b37e22a6c16a01c03131684b7b4 100644 (file)
@@ -1 +1,2 @@
 README.amf
+debian/SOURCE