mirror of
https://git.proxmox.com/git/pve-jslint
synced 2025-04-28 16:22:32 +00:00
add reference to git version
This commit is contained in:
parent
b5bd7e798e
commit
0fe26c6257
2
Makefile
2
Makefile
@ -6,6 +6,7 @@ PACKAGERELEASE=3
|
||||
|
||||
PKGREL=${VERSION}-${PACKAGERELEASE}
|
||||
DEB=${PACKAGE}_${PKGREL}_all.deb
|
||||
GITVERSION:=$(shell cat .git/refs/heads/master)
|
||||
|
||||
all: ${DEB}
|
||||
|
||||
@ -22,6 +23,7 @@ ${DEB} deb:
|
||||
mkdir dest/DEBIAN
|
||||
sed -e 's/@PKGREL@/${PKGREL}/' <control.in >dest/DEBIAN/control
|
||||
mkdir -p dest/usr/share/doc/${PACKAGE}
|
||||
echo "git clone git://git.proxmox.com/git/pve-jslint.git\\ngit checkout ${GITVERSION}" > dest/usr/share/doc/${PACKAGE}/SOURCE
|
||||
install -m 0644 copyright dest/usr/share/doc/${PACKAGE}
|
||||
install -m 0644 changelog.Debian dest/usr/share/doc/${PACKAGE}
|
||||
gzip --best dest/usr/share/doc/${PACKAGE}/changelog.Debian
|
||||
|
Loading…
Reference in New Issue
Block a user