diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-12-14 19:53:52 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-12-23 11:52:55 -0800 |
commit | 98225193b93906351dfe2ad594a390997e301584 (patch) | |
tree | 6ffab1b1bc435ad17a2b1351699f8aac43e231d3 /real.make | |
parent | afc52a3e6a8dd275d48a5e21cb15086b3ec63b5b (diff) | |
download | tmwa-98225193b93906351dfe2ad594a390997e301584.tar.gz tmwa-98225193b93906351dfe2ad594a390997e301584.tar.bz2 tmwa-98225193b93906351dfe2ad594a390997e301584.tar.xz tmwa-98225193b93906351dfe2ad594a390997e301584.zip |
Make a formatter for lex files
Diffstat (limited to 'real.make')
-rw-r--r-- | real.make | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -384,6 +384,13 @@ dist/%-bundled.tar: dist/%-src.tar dist/%-attoconf-only.tar dist: dist/tmwa-${VERSION_FULL}-src.tar dist/tmwa-${VERSION_FULL}-bundled.tar .PHONY: dist -format: - cd ${SRC_DIR} && apply-filter 'pp-indent | bs-align' ${REAL_SOURCES} ${REAL_HEADERS} ${LEXERS} ${PARSERS} -.PHONY: format +format: format-cpp format-hpp format-lpp format-ypp +format-cpp: + cd ${SRC_DIR} && apply-filter indent-cpp ${REAL_SOURCES} +format-hpp: + cd ${SRC_DIR} && apply-filter indent-cpp ${REAL_HEADERS} +format-lpp: + cd ${SRC_DIR} && apply-filter indent-lpp ${LEXERS} +format-ypp: + cd ${SRC_DIR} && apply-filter indent-ypp ${PARSERS} +.PHONY: format format-cpp format-hpp format-lpp format-ypp |