8 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
11 iproute2-doc_
${VERSION}-${PKGREL}_all.deb \
12 iproute2_
${VERSION}-${PKGREL}_
${ARCH}.deb
19 test -f
"${SRCDIR}/README" || git submodule update
--init
22 ${DEBS} deb
: | submodule
24 cp
-a
$(SRCDIR
) $(BUILDDIR
)
25 cp
-a debian
$(BUILDDIR
)/debian
26 cd
${BUILDDIR}; dpkg-buildpackage
-rfakeroot
-b
-uc
-us
30 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist stretch
--arch
${ARCH}
32 .PHONY
: clean distclean
35 rm -rf
${BUILDDIR} *.deb
*.changes
*.dsc
*.buildinfo