# HG changeset patch # User rosfran # Date 1178550013 -3600 # Node ID f90eb1794afde03861b623b873c6f9d090c96156 # Parent 8b8efd570497b5fed2dcf0a18dee924f9e13a8ce [svn r637] Added automake task to auto-indent all the source files. diff -r 8b8efd570497 -r f90eb1794afd gmyth/src/Makefile.am --- a/gmyth/src/Makefile.am Mon May 07 14:26:39 2007 +0100 +++ b/gmyth/src/Makefile.am Mon May 07 16:00:13 2007 +0100 @@ -97,6 +97,14 @@ gmyth_file.h \ gmyth_file_local.h +indent: + for src_file in $(libgmyth_la_SOURCES); do \ + indent -gnu -i4 -l80 -bfda -nut -pcs -psl -bli0 -cs -cli4 -nbfda -sai -saw -saf -sbi4 -npro -nfca $$src_file; \ + done; \ + for inc_file in $(libgmyth_include_HEADERS); do \ + indent -gnu -i4 -l80 -bfda -nut -pcs -psl -bli0 -cs -cli4 -nbfda -sai -saw -saf -sbi4 -npro -nfca $$inc_file; \ + done; + CLEANFILES = $(BUILT_SOURCES) \ *.gcda \ *.gcno \