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-10 10:31:13 +02:00
parent b6d049b176
commit 5d23073cb6

View file

@ -10,6 +10,10 @@ DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb
all:
.PHONY: tidy
tidy:
git ls-files ':*.p[ml]'| xargs -n4 -P0 proxmox-perltidy
.PHONY: dinstall
dinstall: deb
dpkg -i $(DEB)