mirror of
https://git.proxmox.com/git/pve-jslint
synced 2025-08-06 18:14:48 +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}
|
PKGREL=${VERSION}-${PACKAGERELEASE}
|
||||||
DEB=${PACKAGE}_${PKGREL}_all.deb
|
DEB=${PACKAGE}_${PKGREL}_all.deb
|
||||||
|
GITVERSION:=$(shell cat .git/refs/heads/master)
|
||||||
|
|
||||||
all: ${DEB}
|
all: ${DEB}
|
||||||
|
|
||||||
@ -22,6 +23,7 @@ ${DEB} deb:
|
|||||||
mkdir dest/DEBIAN
|
mkdir dest/DEBIAN
|
||||||
sed -e 's/@PKGREL@/${PKGREL}/' <control.in >dest/DEBIAN/control
|
sed -e 's/@PKGREL@/${PKGREL}/' <control.in >dest/DEBIAN/control
|
||||||
mkdir -p dest/usr/share/doc/${PACKAGE}
|
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 copyright dest/usr/share/doc/${PACKAGE}
|
||||||
install -m 0644 changelog.Debian dest/usr/share/doc/${PACKAGE}
|
install -m 0644 changelog.Debian dest/usr/share/doc/${PACKAGE}
|
||||||
gzip --best dest/usr/share/doc/${PACKAGE}/changelog.Debian
|
gzip --best dest/usr/share/doc/${PACKAGE}/changelog.Debian
|
||||||
|
Loading…
Reference in New Issue
Block a user