GITVERSION:=$(shell git rev-parse HEAD)
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
-#DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc # FIXME: TODO
+DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
all: ${DEB}
@echo ${DEB}
lintian ${DEB}
@echo ${DEB}
+.PHONY: dsc
+dsc: ${DSC}
+${DSC}: ${BUILDDIR}
+ cd ${BUILDDIR}; dpkg-buildpackage -S -uc -us -d
+ lintian ${DSC}
+
.PHONY: submodule
submodule:
git submodule update --init --recursive
.PHONY: upload
upload: ${DEB}
- tar cf - ${DEB}|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch
+ tar cf - ${DEB}|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist buster
.PHONY: distclean clean
distclean: clean
clean:
- rm -rf *~ debian/*~ *.deb ${BUILDDIR} *.changes *.dsc *.buildinfo
+ rm -rf *~ debian/*~ *.deb ${PACKAGE}-*/ *.tar.gz *.changes *.dsc *.buildinfo
.PHONY: dinstall
dinstall: ${DEB}