diff options
author | David Tardon <dtardon@redhat.com> | 2015-08-05 15:47:16 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-08-05 15:47:16 +0200 |
commit | 104ee5560a5ab0b5597630179f5ed8714da001df (patch) | |
tree | a523c929f3e53c86118aa578ea5b2008c070ed21 | |
parent | d9b10697f3984e51d3870e049b99488d94ee735e (diff) |
add make astyle target
Change-Id: I4db491dc046ffae8d9185f1d24e5c14d7f191deb
-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 d8eec87..eff6d14 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,3 +20,5 @@ distclean-local: 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 |