Skip to content

Commit

Permalink
Ask astyle(1) to indent macros too
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Jun 29, 2017
1 parent 14b44b8 commit c54e3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ svn-keywords-check:

style:
find ${libfreefare_subdirs} -name '*.[ch]' -exec perl -pi -e 's/[ \t]+$$//' {} \;
find ${libfreefare_subdirs} -name '*.[ch]' -exec astyle --style=linux --indent=force-tab-x --lineend=linux '{}' ';'
find ${libfreefare_subdirs} -name '*.[ch]' -print0 | xargs -0 astyle --style=linux --indent=force-tab-x --lineend=linux --indent-preproc-define --indent-preproc-block

0 comments on commit c54e3d9

Please sign in to comment.