buildsys: make deb target always build doc package, add deb-nodoc

deb should be our common "build all" target, so rather make the
exception a specific target than vice versa.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-21 13:35:55 +02:00
parent 86e4ad8ada
commit 8f8faa4541

View File

@ -108,14 +108,13 @@ proxmox-backup-docs: build
lintian $(DOC_DEB)
# copy the local target/ dir as a build-cache
.PHONY: deb
$(DEBS): deb
deb: build
.PHONY: deb dsc deb-nodoc
deb-nodoc: build
cd build; dpkg-buildpackage -b -us -uc --no-pre-clean --build-profiles=nodoc
lintian $(DEBS)
.PHONY: deb-all
deb-all: build
$(DEBS): deb
deb: build
cd build; dpkg-buildpackage -b -us -uc --no-pre-clean
lintian $(DEBS) $(DOC_DEB)