5 PKGREL
=${VERSION}-${PACKAGERELEASE}
6 DEB
=${PACKAGE}_
${PKGREL}_all.deb
7 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
21 make DESTDIR
=`pwd`/dest
install
23 sed
-e
's/@PKGREL@/${PKGREL}/' <control.in
>dest
/DEBIAN
/control
24 mkdir
-p dest
/usr
/share
/doc
/${PACKAGE}
25 echo
"git clone git://git.proxmox.com/git/pve-jslint.git\\ngit checkout ${GITVERSION}" > dest
/usr
/share
/doc
/${PACKAGE}/SOURCE
26 install -m
0644 copyright dest
/usr
/share
/doc
/${PACKAGE}
27 install -m
0644 changelog.Debian dest
/usr
/share
/doc
/${PACKAGE}
28 gzip
-n
--best dest
/usr
/share
/doc
/${PACKAGE}/changelog.Debian
29 fakeroot dpkg-deb
--build dest
34 rhinoed_jslint.js
: jslint.js rhino.js
35 cat jslint.js rhino.js
>$@.tmp
38 install: rhinoed_jslint.js jslint
39 mkdir
-p
${DESTDIR}/usr
/share
/${PACKAGE}
40 install -m
0644 rhinoed_jslint.js
${DESTDIR}/usr
/share
/${PACKAGE}/rhinoed_jslint.js
41 mkdir
-p
${DESTDIR}/usr
/bin
42 install -m
0755 jslint
${DESTDIR}/usr
/bin
45 wget
-O jslint.js http
://jslint.com
/jslint.js
52 rm -rf
*~ dest control rhinoed_jslint.js
*.deb
56 tar cf
- ${DEB} | ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist stretch