mirror of
https://git.proxmox.com/git/pmg-log-tracker
synced 2025-08-13 16:26:57 +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
|
.PHONY: dsc
|
||||||
dsc: $(DSC)
|
dsc: $(DSC)
|
||||||
|
$(MAKE) $(DSC)
|
||||||
|
lintian $(DSC)
|
||||||
|
|
||||||
$(DSC): build
|
$(DSC): build
|
||||||
cd build; dpkg-buildpackage -S -us -uc -d -nc
|
cd build; dpkg-buildpackage -S -us -uc -d -nc
|
||||||
lintian $(DSC)
|
|
||||||
|
.PHONY: sbuild
|
||||||
|
sbuild: $(DSC)
|
||||||
|
sbuild $(DSC)
|
||||||
|
|
||||||
.PHONY: dinstall
|
.PHONY: dinstall
|
||||||
dinstall: $(DEB)
|
dinstall: $(DEB)
|
||||||
@ -62,5 +68,5 @@ distclean: clean
|
|||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
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 {} ';'
|
find . -name '*~' -exec rm {} ';'
|
||||||
|
Loading…
Reference in New Issue
Block a user