]> git.proxmox.com Git - pve-edk2-firmware.git/blobdiff - Makefile
bump version to 2.20190614-1
[pve-edk2-firmware.git] / Makefile
index 8387ca6191d27ad209675ffc4a7f1aa0b7929698..b65390e9790aee9f8664de639353229402210e1a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
 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}
@@ -26,6 +26,12 @@ ${DEB}: ${BUILDDIR}
        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
@@ -38,12 +44,12 @@ update_modules: submodule
 
 .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}