1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
=libpve-network-perl
5 BUILDDIR ?
= $(PACKAGE
)-$(DEB_VERSION_UPSTREAM
)
7 DEB
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM_REVISION
)_all.deb
8 DSC
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM_REVISION
).dsc
17 $(BUILDDIR
): PVE debian
19 rsync
-a
* $(BUILDDIR
)
20 echo
"git clone git://git.proxmox.com/git/pve-network.git\\ngit checkout $(shell git rev-parse HEAD)" > $(BUILDDIR
)/debian
/SOURCE
25 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-us
-uc
34 cd
$(BUILDDIR
); dpkg-buildpackage
-S
-us
-uc
-d
39 .PHONY
: clean distclean
42 rm -rf
*~
*.deb
*.changes
$(PACKAGE
)-[0-9]*/ $(PACKAGE
)*.
tar* *.build
*.buildinfo
*.dsc
50 $(MAKE
) -C PVE
install
54 tar cf
- $(DEB
)|ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
--dist bullseye