mirror of
git://git.proxmox.com/git/pve-ha-manager.git
synced 2025-01-03 05:17:57 +03:00
buildsys: improve DSC target & add sbuild convenience target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1b91242ae9
commit
cfe9011673
12
Makefile
12
Makefile
@ -35,15 +35,21 @@ $(DEB) $(DBG_DEB): $(BUILDDIR)
|
||||
lintian $(SIMDEB)
|
||||
|
||||
.PHONY: dsc
|
||||
dsc: $(DSC)
|
||||
dsc:
|
||||
$(MAKE) clean
|
||||
$(MAKE) $(DSC)
|
||||
lintian $(DSC)
|
||||
|
||||
$(DSC): $(BUILDDIR)
|
||||
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
|
||||
lintian $(DSC)
|
||||
|
||||
sbuild: $(DSC)
|
||||
sbuild $(DSC)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
make -C src clean
|
||||
rm -rf $(BUILDDIR) *.tar.gz *.dsc *.deb $(PACKAGE)-*.tar.gz *.changes *.buildinfo
|
||||
rm -rf $(PACKAGE)-[0-9]*/ *.dsc *.deb $(PACKAGE)*.tar* *.changes *.build *.buildinfo
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: clean
|
||||
|
Loading…
Reference in New Issue
Block a user