Makefiles: remove spurious spaces/tabs
This commit is contained in:
2
Makefile
2
Makefile
@@ -89,7 +89,7 @@ endif
|
|||||||
print-%: ; @echo $* = $($*)
|
print-%: ; @echo $* = $($*)
|
||||||
|
|
||||||
style:
|
style:
|
||||||
find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.lua" \) -exec perl -pi -e 's/[ \t\r]+$$//' {} \;
|
find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.lua" -or -name "Makefile" \) -exec perl -pi -e 's/[ \t\r]+$$//' {} \;
|
||||||
find . \( -name "*.[ch]" -or -name "*.cpp" \) -exec astyle --formatted --mode=c --suffix=none \
|
find . \( -name "*.[ch]" -or -name "*.cpp" \) -exec astyle --formatted --mode=c --suffix=none \
|
||||||
--indent=spaces=4 --indent-switches --indent-preprocessor \
|
--indent=spaces=4 --indent-switches --indent-preprocessor \
|
||||||
--keep-one-line-blocks --max-instatement-indent=60 \
|
--keep-one-line-blocks --max-instatement-indent=60 \
|
||||||
|
|||||||
Reference in New Issue
Block a user