mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-10-25 18:35:45 +00:00
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
157d9875f6
commit
34f80f6d04
4
Makefile
4
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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user