diff options
author | David Tardon <dtardon@redhat.com> | 2015-08-03 17:16:21 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-08-03 17:16:53 +0200 |
commit | c324241165636572270b23427100237b021f91cc (patch) | |
tree | d2458d4e11423a8cedf7d24bb7dd3ee7dc6700cc | |
parent | d69481c8a80ae46bc5a02441a926243627e3b7da (diff) |
add make astyle target
Change-Id: I35859b9856f61c8aee36926f97d80847a5b54eef
-rw-r--r-- | HACKING | 2 | ||||
-rw-r--r-- | Makefile.am | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -3,6 +3,6 @@ This project uses mostly the same file naming and coding style like libwpd and the rest of Fridrich's libraries. Please run - astyle --options=astyle.options \*.cpp \*.h + make astyle before committing. diff --git a/Makefile.am b/Makefile.am index 2205c30..f7041e4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,3 +30,5 @@ zip: all install dist-hook: git log --date=short --pretty="format:@%cd %an <%ae> [%H]%n%n%s%n%n%e%b" | sed -e "s|^\([^@]\)|\t\1|" -e "s|^@||" >$(distdir)/ChangeLog +astyle: + astyle --options=astyle.options \*.cpp \*.h |