mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 01:43:00 +02:00
Add Makefile target which strips all trailing whitespace.
This commit is contained in:
committed by
Tim Edwards
parent
2c066c8df0
commit
83c9288e13
@@ -127,6 +127,11 @@ tags:
|
||||
${RM} tags
|
||||
find . ${MODULES} ${PROGRAMS} -name "*.[ch]" -maxdepth 1 | xargs ctags -o tags
|
||||
|
||||
TAGS:
|
||||
TAGS:
|
||||
${RM} TAGS
|
||||
find . ${MODULES} ${PROGRAMS} -name "*.[ch]" -maxdepth 1 | xargs etags -o TAGS
|
||||
|
||||
fix-trailing-whitespace:
|
||||
find -name "*.[ch]" | xargs sed -i -e's/\s\+$$//'
|
||||
find -name "*.cpp" | xargs sed -i -e's/\s\+$$//'
|
||||
find -name "*.tcl" | xargs sed -i -e's/\s\+$$//'
|
||||
|
||||
Reference in New Issue
Block a user