summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-10-24 09:58:53 +1100
committer Vas Crabb <vas@vastheman.com>2021-10-24 09:58:53 +1100
commite778bb9a8c87ab321daa45ea08b4a39e1ad21a6f (patch)
tree13fd90df4881c695e50ba7960c0d626045cd8ec6 /makefile
parent5ab93130eb223aadabb6faebb1b4299e6000120c (diff)
srcclean in preparation for branching 0.237 release
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/makefile b/makefile
index b2ebebe3ac7..f27c940c3ac 100644
--- a/makefile
+++ b/makefile
@@ -1809,18 +1809,18 @@ tests: $(REGTESTS)
cleansrc:
@echo Cleaning up tabs/spaces/end of lines....
ifeq (posix,$(SHELLTYPE))
- $(SILENT) find src \
+ $(SILENT) find src \( \
-name \*.c -o -name \*.cpp -o \
-name \*.h -o -name \*.hpp -o -name \*.hxx -o \
-name \*.ipp -o \
-name \*.mm -o \
-name \*.lay -o \
-name \*.lst \
- -exec ./srcclean {} \; >&2
- $(SILENT) find hash -name \*.hsi -o -name \*.xml -exec ./srcclean {} \; >&2
- $(SILENT) find bgfx -name \*.json -exec ./srcclean {} \; >&2
- $(SILENT) find plugins -name \*.lua -o -name \*.json -exec ./srcclean {} \; >&2
- $(SILENT) find scripts -name \*.lua -exec ./srcclean {} \; >&2
+ \) -exec ./srcclean {} \; >&2
+ $(SILENT) find hash \( -name \*.hsi -o -name \*.xml \) -exec ./srcclean {} \; >&2
+ $(SILENT) find bgfx \( -name \*.json \) -exec ./srcclean {} \; >&2
+ $(SILENT) find plugins \( -name \*.lua -o -name \*.json \) -exec ./srcclean {} \; >&2
+ $(SILENT) find scripts \( -name \*.lua \) -exec ./srcclean {} \; >&2
else
$(shell for /r src %%i in (*.c, *.cpp, *.h, *.hpp, *.hxx, *.ipp, *.mm, *.lay, *.lst) do srcclean %%i >&2 )
$(shell for /r hash %%i in (*.hsi, *.xml) do srcclean %%i >&2 )