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
14 $(BUILDDIR
): src debian
18 echo
"git clone git://git.proxmox.com/git/pve-network.git\\ngit checkout $(shell git rev-parse HEAD)" > $@.tmp
/debian
/SOURCE
24 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-us
-uc
33 cd
$(BUILDDIR
); dpkg-buildpackage
-S
-us
-uc
-d
38 .PHONY
: clean distclean
41 rm -rf
*~
*.deb
*.changes
$(PACKAGE
)-[0-9]*/ $(PACKAGE
)*.
tar* *.build
*.buildinfo
*.dsc
44 upload
: UPLOAD_DIST ?
= $(DEB_DISTRIBUTION
)
46 tar cf
- $(DEB
)|ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
--dist $(UPLOAD_DIST
)