1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
=fonts-font-logos
5 BUILDDIR ?
= $(PACKAGE
)-$(DEB_VERSION_UPSTREAM
)
6 ORIG_SRC_TAR
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM
).orig.
tar.gz
8 DEB
=$(PACKAGE
)_
$(DEB_VERSION
)_all.deb
9 DSC
=$(PACKAGE
)_
$(DEB_VERSION
).dsc
13 $(BUILDDIR
): debian src
16 cp
-a debian
/ $@.tmp
/debian
17 echo
"git clone git://git.proxmox.com/git/fonts-font-logos.git\\ngit checkout $$(git rev-parse HEAD)" > $@.tmp
/debian
/SOURCE
23 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-us
-uc
26 $(ORIG_SRC_TAR
): $(BUILDDIR
)
27 tar czf
$(ORIG_SRC_TAR
) --exclude
="$(BUILDDIR)/debian" $(BUILDDIR
)
34 $(DSC
): $(ORIG_SRC_TAR
) $(BUILDDIR
)
35 cd
$(BUILDDIR
); dpkg-buildpackage
-S
-us
-uc
-d
41 upload
: UPLOAD_DIST ?
= $(DEB_DISTRIBUTION
)
43 tar cf
- $(DEB
) | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist $(UPLOAD_DIST
)
45 .PHONY
: distclean clean
48 rm -rf
$(PACKAGE
)-[0-9]*/ *.deb
*.changes
*.buildinfo
*.build
*.
tar.?z
*.dsc