1 include /usr
/share
/dpkg
/pkg-info.mk
2 include /usr
/share
/dpkg
/architecture.mk
6 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
7 BUILDDIR ?
= $(PACKAGE
)-$(DEB_VERSION_UPSTREAM
)
9 DEB
=$(PACKAGE
)_
$(DEB_VERSION
)_
$(DEB_HOST_ARCH
).deb
10 DBG_DEB
=$(PACKAGE
)-dbgsym_
$(DEB_VERSION
)_
$(DEB_HOST_ARCH
).deb
11 DSC
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM_REVISION
).dsc
13 $(BUILDDIR
): src
/ debian
/
15 rsync
-a src
/ debian
$(BUILDDIR
)
16 echo
"git clone git://git.proxmox.com/git/spiceterm.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR
)/debian
/SOURCE
24 cd
$(BUILDDIR
); dpkg-buildpackage
-S
-us
-uc
-d
32 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-us
-uc
41 tar cf
- $(DEB
) $(DBG_DEB
) | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist bullseye
--arch
$(ARCH
)
43 .PHONY
: distclean clean
46 rm -rf
*~
$(PACKAGE
)-*/ *.deb
*.changes genfont
*.buildinfo
*.dsc
*.
tar.gz