forked from Mirror/pve-network
buildsys: improve DSC target & add sbuild convenience target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
94b92a83d4
commit
ed8c931cec
11
Makefile
11
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:
|
||||
|
|
Loading…
Reference in a new issue