summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Lamprecht <t.lamprecht@proxmox.com>2023-05-25 18:04:44 +0200
committerThomas Lamprecht <t.lamprecht@proxmox.com>2023-05-25 18:18:57 +0200
commited8c931cec114013dcf8384bccce139e13739275 (patch)
treed174b03a7e2a4bfb6dad0e507e39336b7fd17eb0 /Makefile
parent94b92a83d41b65d23639152794d2e92093333c13 (diff)
buildsys: improve DSC target & add sbuild convenience target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 59b9e20..b4980de 100644
--- a/Makefile
+++ b/Makefile
@@ -26,15 +26,20 @@ $(DEB): $(BUILDDIR)
lintian $(DEB)
.PHONY: dsc
-dsc: $(DSC)
+dsc: clean
+ $(MAKE) $(DSC)
+ lintian $(DSC)
+
$(DSC): $(BUILDDIR)
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
- lintian $(DSC)
+
+sbuild: $(DSC)
+ sbuild $(DSC)
.PHONY: clean distclean
distclean: clean
clean:
- rm -rf *~ *.deb *.changes $(PACKAGE)-* *.buildinfo *.dsc *.tar.gz
+ rm -rf *~ *.deb *.changes $(PACKAGE)-[0-9]*/ $(PACKAGE)*.tar* *.build *.buildinfo *.dsc
.PHONY: test
test: