Prepare for automatic code formatting using Artistic Style.
[tinc] / Makefile.am
index 5d8172a..bfaf557 100644 (file)
@@ -1,23 +1,15 @@
 ## Process this file with automake to get Makefile.in
 
-AUTOMAKE_OPTIONS = gnits
+AUTOMAKE_OPTIONS = gnu
 
-SUBDIRS = m4 lib cipher src doc redhat
+SUBDIRS = src doc distro
 
-ACLOCAL_AMFLAGS = -I m4
+ACLOCAL_AMFLAGS = -I m4 
 
-EXTRA_DIST = TODO
-
-CVS_CREATED = configure aclocal.m4 config.h.in
+EXTRA_DIST = COPYING.README README.android
 
 ChangeLog:
-       rcs2log -u "zarq        Ivo Timmermans  itimmermans@bigfoot.com" | \
-         sed -e 's,/home/CVS/tinc/cabal/,,g' > $@
+       git log > ChangeLog
 
-cvs-clean: maintainer-clean
-       for f in $(CVS_CREATED) `find -name Makefile.in` ; do\
-         rm "$$f"; \
-         if [ $$? -ne 0 ] ; then \
-           echo $$f bestaat niet; \
-         fi; \
-       done
+astyle:
+       astyle --options=.astylerc -nQ src/*.[ch] src/*/*.[ch]