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:
parent
9714b9038a
commit
96566527b3
1 changed files with 4 additions and 0 deletions
4
Makefile
4
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue