Ask astyle(1) to indent macros too

This commit is contained in:
Romain Tartière 2017-06-29 12:23:03 +02:00
parent 14b44b8076
commit c54e3d981c

View file

@ -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