1 include /usr
/share
/dpkg
/pkg-info.mk
5 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
6 DSC
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}.dsc
8 GITVERSION
:=$(shell git rev-parse HEAD
)
9 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
13 ${BUILDDIR}: src debian
15 rsync
-a src
/ debian
${BUILDDIR}
16 echo
"git clone git://git.proxmox.com/git/pve-jslint.git\\ngit checkout $(GITVERSION)" > ${BUILDDIR}/debian
/SOURCE
21 cd
${BUILDDIR}; dpkg-buildpackage
-b
-us
-uc
27 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
-nc
35 src
/jslint.js download
:
36 wget
-O src
/jslint.js http
://jslint.com
/jslint.js
38 .PHONY
: distclean clean
41 rm -rf
*~
${BUILDDIR} rhinoed_jslint.js
*.deb
*.dsc
*.
tar.gz
*.changes
*.buildinfo
45 tar cf
- ${DEB} | ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist stretch