[PATCH proxmox-perl-rs] common: buildsys: Makefile: drop `--no-pre-clean`

Jing Luo jing at jing.rocks
Fri Sep 27 15:45:53 CEST 2024


There is no difference in the source or binary packge running with or
without `--no-pre-clean`. On the other hand, dpkg-buildpackge complains
loudly when `--no-pre-clean` is specified, so let's remove it.

Signed-off-by: Jing Luo <jing at jing.rocks>
---
 common/pkg/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/pkg/Makefile b/common/pkg/Makefile
index 1e5cf1d..cbefdf7 100644
--- a/common/pkg/Makefile
+++ b/common/pkg/Makefile
@@ -51,7 +51,7 @@ $(BUILDDIR): debian PVE Proxmox Makefile
 .PHONY: deb
 deb: $(DEB)
 $(DEB): $(BUILDDIR)
-	cd $(BUILDDIR); dpkg-buildpackage -b -us -uc --no-pre-clean
+	cd $(BUILDDIR); dpkg-buildpackage -b -us -uc
 	lintian $(DEB)
 
 .PHONY: dsc
-- 
2.46.2





More information about the pve-devel mailing list