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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2025-06-04 19:37:44 +02:00
parent 157d9875f6
commit 34f80f6d04

View File

@ -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)