summaryrefslogtreecommitdiff
path: root/real.make
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-12-19 22:02:04 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-12-23 11:52:55 -0800
commit7081836d86e910efbd3b670904aa2be326d29bb2 (patch)
tree6aa59ec576d223d49cfd1c7b2dcf361d0d6552e5 /real.make
parent98225193b93906351dfe2ad594a390997e301584 (diff)
downloadtmwa-7081836d86e910efbd3b670904aa2be326d29bb2.tar.gz
tmwa-7081836d86e910efbd3b670904aa2be326d29bb2.tar.bz2
tmwa-7081836d86e910efbd3b670904aa2be326d29bb2.tar.xz
tmwa-7081836d86e910efbd3b670904aa2be326d29bb2.zip
Refactor the lex indenter so that it can (almost) format yacc files
Diffstat (limited to 'real.make')
-rw-r--r--real.make8
1 files changed, 4 insertions, 4 deletions
diff --git a/real.make b/real.make
index 58eae29..0177de0 100644
--- a/real.make
+++ b/real.make
@@ -386,11 +386,11 @@ dist: dist/tmwa-${VERSION_FULL}-src.tar dist/tmwa-${VERSION_FULL}-bundled.tar
format: format-cpp format-hpp format-lpp format-ypp
format-cpp:
- cd ${SRC_DIR} && apply-filter indent-cpp ${REAL_SOURCES}
+ cd ${SRC_DIR} && apply-filter 'indenter -cpp' ${REAL_SOURCES}
format-hpp:
- cd ${SRC_DIR} && apply-filter indent-cpp ${REAL_HEADERS}
+ cd ${SRC_DIR} && apply-filter 'indenter -cpp' ${REAL_HEADERS}
format-lpp:
- cd ${SRC_DIR} && apply-filter indent-lpp ${LEXERS}
+ cd ${SRC_DIR} && apply-filter 'indenter -lpp' ${LEXERS}
format-ypp:
- cd ${SRC_DIR} && apply-filter indent-ypp ${PARSERS}
+ cd ${SRC_DIR} && apply-filter 'indenter -ypp' ${PARSERS}
.PHONY: format format-cpp format-hpp format-lpp format-ypp