1 include /usr
/share
/dpkg
/pkg-info.mk
5 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
6 GITVERSION
:=$(shell git rev-parse HEAD
)
8 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
9 DSC
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}.dsc
13 ${BUILDDIR}: debian extjs
16 rsync
-a debian
/ $@.tmp
/debian
18 rsync
-a extjs
/build
/ $@.tmp
/extjs
/build
19 cp extjs
/licenses
/license.txt
$@.tmp
/debian
/copyright
25 cd
${BUILDDIR}; dpkg-buildpackage
-b
-us
-uc
31 cd
${BUILDDIR}; tar czf ..
/${PACKAGE}_
${DEB_VERSION_UPSTREAM}.orig.
tar.gz
*
32 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
37 tar cf
- ${DEB} | ssh repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist buster
39 .PHONY
: distclean clean
42 rm -rf
${PACKAGE}-*/ *.deb
*.changes
*.buildinfo
*.orig.
tar.
* *.dsc
*.debian.
tar.
*
43 find .
-name
'*~' -exec
rm {} ';'