make: add dsc target and use lintian

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-02-01 10:07:22 +01:00
parent 304db5da3d
commit 18fad34433
1 changed files with 8 additions and 0 deletions

View File

@ -35,6 +35,7 @@ export PROXMOX_PKG_REPOID=${GITVERSION}
export PROXMOX_JSDIR := $(JSDIR)
DEB=${PACKAGE}_${PKGVER}-${PKGREL}_${ARCH}.deb
DSC=${PACKAGE}_${PKGVER}-${PKGREL}.dsc
DESTDIR=
@ -57,6 +58,13 @@ build:
deb: $(DEB)
$(DEB): build
cd build; dpkg-buildpackage -b -us -uc
lintian $(DEB)
.PHONY: dsc
dsc: $(DSC)
$(DSC): build
cd build; dpkg-buildpackage -S -us -uc -d -nc
lintian $(DSC)
distclean: clean