mirror of
https://git.proxmox.com/git/pmg-log-tracker
synced 2025-04-28 20:45:51 +00:00
buildsys: add sbuild convenience target
and only call lintian on the source-package for the phony dsc target, as sbuild calls it anyways Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
parent
1bd7041278
commit
5ed9f5caa5
10
Makefile
10
Makefile
@ -45,9 +45,15 @@ $(DEB) $(DBG_DEB): build
|
||||
|
||||
.PHONY: dsc
|
||||
dsc: $(DSC)
|
||||
$(MAKE) $(DSC)
|
||||
lintian $(DSC)
|
||||
|
||||
$(DSC): build
|
||||
cd build; dpkg-buildpackage -S -us -uc -d -nc
|
||||
lintian $(DSC)
|
||||
|
||||
.PHONY: sbuild
|
||||
sbuild: $(DSC)
|
||||
sbuild $(DSC)
|
||||
|
||||
.PHONY: dinstall
|
||||
dinstall: $(DEB)
|
||||
@ -62,5 +68,5 @@ distclean: clean
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf *.deb $(PACKAGE)-* *.buildinfo *.changes *.dsc rust-$(PACKAGE)_*.tar.?z build/
|
||||
rm -rf *.deb $(PACKAGE)-* *.buildinfo *.changes *.dsc rust-$(PACKAGE)_*.tar.?z build/ *build
|
||||
find . -name '*~' -exec rm {} ';'
|
||||
|
Loading…
Reference in New Issue
Block a user