mirror of
https://git.proxmox.com/git/pve-network
synced 2025-08-15 10:49:35 +00:00
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)
|
lintian $(DEB)
|
||||||
|
|
||||||
.PHONY: dsc
|
.PHONY: dsc
|
||||||
dsc: $(DSC)
|
dsc: clean
|
||||||
|
$(MAKE) $(DSC)
|
||||||
|
lintian $(DSC)
|
||||||
|
|
||||||
$(DSC): $(BUILDDIR)
|
$(DSC): $(BUILDDIR)
|
||||||
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
|
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
|
||||||
lintian $(DSC)
|
|
||||||
|
sbuild: $(DSC)
|
||||||
|
sbuild $(DSC)
|
||||||
|
|
||||||
.PHONY: clean distclean
|
.PHONY: clean distclean
|
||||||
distclean: clean
|
distclean: clean
|
||||||
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
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
|
Loading…
Reference in New Issue
Block a user