1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
=proxmox-kernel-helper
4 BUILDDIR
=$(PACKAGE
)-$(DEB_VERSION_UPSTREAM
)
6 DSC
=$(PACKAGE
)_
$(DEB_VERSION
).dsc
7 DEB
=$(PACKAGE
)_
$(DEB_VERSION
)_all.deb
12 $(BUILDDIR
): debian src
16 echo
"git clone git://git.proxmox.com/git/proxmox-kernel-helper.git\\ngit checkout $$(git rev-parse HEAD)" > $@.tmp
/debian
/SOURCE
20 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-uc
-us
28 cd
$(BUILDDIR
); dpkg-buildpackage
-S
-uc
-us
-d
34 upload
: UPLOAD_DIST ?
= $(DEB_DISTRIBUTION
)
36 tar cf
- $(DEB
)|ssh repoman@repo.proxmox.com
-- upload
--product pve
,pmg
,pbs
--dist $(UPLOAD_DIST
)
38 .PHONY
: clean distclean
42 rm -rf
*~
$(PACKAGE
)-[0-9]*/ $(PACKAGE
)*.
tar* *.deb
*.dsc
*.changes
*.build
*.buildinfo