Tweak 'make beautify-file'
unix2dos and dos2unix were renamed to todos and fromdos - they aren't really needed (on Linux anyway), so removed.
This commit is contained in:
parent
f618a69990
commit
f01b52c44c
1 changed files with 0 additions and 2 deletions
|
|
@ -140,8 +140,6 @@ beautify-file:
|
|||
test -n "$(INDENTFILE)" || (echo INDENTFILE not defined && exit 1;)
|
||||
test -e $(INDENTFILE) || (echo File does not exist: $(INDENTFILE) && exit 1;)
|
||||
cp $(INDENTFILE) $(INDENTBAKSDIR)/$(INDENTFILE);
|
||||
unix2dos $(INDENTFILE)
|
||||
dos2unix $(INDENTFILE)
|
||||
indent -kr --honour-newlines --line-length160 --indent-level2 --braces-on-func-def-line --leave-optional-blank-lines $(SWIGTYPEDEFS) $(INDENTFILE) -o $(INDENTFILE).tmp;
|
||||
cat $(INDENTFILE).tmp | sed -e 's/const const /const /' > $(INDENTFILE);
|
||||
rm $(INDENTFILE).tmp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue