1 include /usr
/share
/dpkg
/default.mk
6 UPSTREAM
=https
://salsa.debian.org
/debian
/ifupdown.git
7 BUILDDIR
=$(SRCDIR
)-$(DEB_VERSION_UPSTREAM
)
9 DEB
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM_REVISION
)_
$(DEB_BUILD_ARCH
).deb
10 DBG_DEB
=$(PACKAGE
)-dbgsym_
$(DEB_VERSION_UPSTREAM_REVISION
)_
$(DEB_BUILD_ARCH
).deb
11 DEBS
=$(DEB
) $(DBG_DEB
)
16 .PHONY
: deb upload
distclean clean dinstall
20 rm -rf
$(BUILDDIR
) $(BUILDDIR
).tmp
21 cp
-a
$(SRCDIR
)/ $(BUILDDIR
).tmp
22 mv
$(BUILDDIR
).tmp
$(BUILDDIR
)
25 $(DEB
) $(DBG_DEB
): $(BUILDDIR
)
26 cd
$(BUILDDIR
); dpkg-buildpackage
-rfakeroot
-b
-uc
-us
30 tar cf
- $(DEBS
) | ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
,pmg
,pbs
--dist bullseye
34 rm -rf
$(SRCDIR
)-*/ *.deb
*.changes
*.dsc
*.buildinfo