8 SBINDIR
=${DESTDIR}/usr
/sbin
9 MAN8DIR
=${DESTDIR}/usr
/share
/man
/man8
10 DOCDIR
=${DESTDIR}/usr
/share
/doc
/${PACKAGE}
11 WORKDIR
=${DESTDIR}/var
/lib
/pve-zsync
13 BUILDDIR ?
= ${PACKAGE}-${VERSION}
16 GITVERSION
:=$(shell git rev-parse HEAD
)
18 DEB
=${PACKAGE}_
${VERSION}-${PKGREL}_
${ARCH}.deb
19 DSC
=${PACKAGE}_
${VERSION}-${PKGREL}.dsc
27 pve-zsync
.8: pve-zsync
28 .
/pve-zsync printpod | pod2man
-c
"Proxmox Documentation" -s
8 -r
${RELEASE} -n pve-zsync
- pve-zsync
.8
33 install -m
0755 pve-zsync
${SBINDIR}/pve-zsync
36 install -m
0644 pve-zsync
.8 ${MAN8DIR}/pve-zsync
.8
41 rsync
-a
* ${BUILDDIR}
42 echo
"git clone git://git.proxmox.com/git/dab.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian
/SOURCE
47 cd
${BUILDDIR}; dpkg-buildpackage
-b
-us
-uc
53 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
-nc
58 rm -rf
${BUILDDIR} *.deb
*.dsc
${PACKAGE}*.
tar.gz
*.buildinfo
*.changes
59 find .
-name
'*~' -exec
rm {} ';'
67 tar cf
- ${DEB} | ssh repoman@repo.proxmox.com upload
--product pve
--dist stretch