]> git.proxmox.com Git - extjs.git/blobdiff - Makefile
buildsys: improve DSC target
[extjs.git] / Makefile
index cff9c43ea1845e39ba7cba03f31696755709aa2e..8891d1d197c894e1c2a0b75b5674a61acb2ac09a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,10 +27,12 @@ $(ORIG_SRC_TAR): $(BUILDDIR)
        tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR)
 
 .PHONY: dsc
-dsc: $(DSC)
+dsc: clean
+       $(MAKE) $(DSC)
+       lintian $@
+
 $(DSC): $(ORIG_SRC_TAR) $(BUILDDIR)
        cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
-       lintian $@
 
 sbuild: $(DSC)
        sbuild $(DSC)