From 34f80f6d041069de048f983bd56811183d0d4511 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 4 Jun 2025 19:37:44 +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 42258ca..9e0f38c 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,10 @@ $(BUILDDIR): src debian echo "git clone git://git.proxmox.com/git/pve-http-server\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE mv $@.tmp $@ +.PHONY: tidy +tidy: + git ls-files ':*.p[ml]'| xargs -n4 -P0 proxmox-perltidy + .PHONY: deb deb: $(DEB) $(DEB): $(BUILDDIR)