buildsys: allow one to build a DSC after a DEB has been build
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 20 Dec 2018 07:15:09 +0000 (08:15 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 20 Dec 2018 07:15:12 +0000 (08:15 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 3d819c3..8f34d88 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,7 @@ ${MAIN_DEB}: ${BUILDDIR}
 .PHONY: dsc
 dsc: ${DSC}
 ${DSC}: ${BUILDDIR}
+       cd ${BUILDDIR}; debian/rules clean
        cd ${BUILDDIR}; tar czf ../${PACKAGE}_${VER}.orig.tar.gz *
        cd ${BUILDDIR}; dpkg-buildpackage -S -uc -us -d
        lintian $@