buildsys: add top-level make tidy target

See pve-common's commit 5ae1f2e ("buildsys: add tidy make target")
for details about the chosen parameters.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2025-06-01 13:57:22 +02:00
parent 25dd3756f9
commit 124e7a199b

View File

@ -15,6 +15,10 @@ all:
dinstall: deb dinstall: deb
dpkg -i $(DEB) dpkg -i $(DEB)
.PHONY: tidy
tidy:
git ls-files ':*.p[ml]'| xargs -n4 -P0 proxmox-perltidy
$(BUILDDIR): $(BUILDDIR):
rm -rf $(BUILDDIR) rm -rf $(BUILDDIR)
cp -a src $(BUILDDIR) cp -a src $(BUILDDIR)