From 8f8faa45419d902ed531969aed43350e76ca250d Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 21 May 2023 13:35:55 +0200 Subject: [PATCH] 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 --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index c265493b..9e36c626 100644 --- a/Makefile +++ b/Makefile @@ -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)