From 96566527b39447f47a8ed9b973964d4cbadcea78 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 1 Jun 2025 14:05:23 +0200 Subject: [PATCH] buildsys: add top-level make tidy target See pve-common's commit 5ae1f2e ("buildsys: add tidy make target") for details about the chosen xargs parameters. Signed-off-by: Thomas Lamprecht --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 20cb806..5fa96ab 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,10 @@ DEBS = $(DEB) $(DBG_DEB) $(LIB_DEB) all: $(DEB) $(DBG_DEB) +.PHONY: tidy +tidy: + git ls-files ':*.p[ml]'| xargs -n4 -P0 proxmox-perltidy + $(BUILDDIR): rm -rf $@ $@.tmp cp -a src $@.tmp