summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-03-10 09:57:24 +0100
committerDavid Tardon <dtardon@redhat.com>2015-03-10 09:57:24 +0100
commitd1fb3f727cd8fc203160dc53b04a1cc45cad7adf (patch)
tree672750b66178ce5fc33b50e1ccdc2e7ebca882df
parent6d8220044d138a509ac42f43817ed82c538b61bd (diff)
add astyle target
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 0008195..4cd393c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,4 +22,7 @@ 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
+
## vim:set shiftwidth=4 tabstop=4 noexpandtab: