]> git.proxmox.com Git - proxmox-spamassassin.git/blobdiff - Makefile
buildsys: add sbuild convenience target
[proxmox-spamassassin.git] / Makefile
index 74bdb3dfa9e181c3791e864daef5a293f5116dcd..7c01f57c16c4f1cda3597735d773fa7ab51d8b3d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,11 +25,16 @@ $(DEB) $(DBG_DEB): $(NPKGNAME)
        cd $(NPKGNAME); dpkg-buildpackage -b -us -uc -rfakeroot
        lintian $(DEB)
 
-dsc: $(DSC)
+dsc:
+       $(MAKE) $(DSC)
+       lintian $(DSC)
 
 $(DSC): $(NPKGNAME)
        cd $(NPKGNAME); dpkg-buildpackage -S -us -uc -rfakeroot -d
-       lintian $(DSC)
+
+.PHONY: sbuild
+sbuild: $(DSC)
+       sbuild $(DSC)
 
 .PHONY: update-upstream
 update-upstream: $(OPKGNAME).tar.gz