mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-02-25 21:57:42 +03:00
add reference to git version
This commit is contained in:
parent
b7aae8e5c1
commit
b98a06a32c
3
Makefile
3
Makefile
@ -13,6 +13,8 @@ MAN1DIR=${MANDIR}/man1/
|
||||
PERLDIR=${PREFIX}/share/perl5
|
||||
|
||||
ARCH=all
|
||||
GITVERSION:=$(shell cat .git/refs/heads/master)
|
||||
|
||||
DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
|
||||
|
||||
all: ${DEB}
|
||||
@ -27,6 +29,7 @@ deb ${DEB}:
|
||||
rm -rf build
|
||||
rsync -a data/ build
|
||||
rsync -a debian/ build/debian
|
||||
echo "git clone git://git.proxmox.com/git/pve-common.git\\ngit checkout ${GITVERSION}" > build/debian/SOURCE
|
||||
cd build; dpkg-buildpackage -rfakeroot -b -us -uc
|
||||
lintian ${DEB}
|
||||
|
||||
|
1
debian/docs
vendored
Normal file
1
debian/docs
vendored
Normal file
@ -0,0 +1 @@
|
||||
debian/SOURCE
|
Loading…
x
Reference in New Issue
Block a user