projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformat all code using astyle.
[tinc]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
eb800e1
..
2b21abb
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-2,17
+2,24
@@
AUTOMAKE_OPTIONS = gnu
AUTOMAKE_OPTIONS = gnu
-SUBDIRS =
m4 lib src doc po
+SUBDIRS =
src doc gui test systemd
-ACLOCAL_AMFLAGS = -I m4
+ACLOCAL_AMFLAGS = -I m4
-EXTRA_DIST =
config.rpath mkinstalldirs system.h COPYING.README depcomp
+EXTRA_DIST =
COPYING.README README.android
-ChangeLog:
- cvs2cl -U cvsusers --fsf
+@CODE_COVERAGE_RULES@
+
+# If git describe works, force autoconf to run in order to make sure we have the
+# current version number from git in the resulting configure script.
+configure-version:
+ -cd $(srcdir) && git describe && autoconf --force
-svn-clean: maintainer-clean
- svn status --no-ignore | grep '^\?' | sed 's/^\? \+//g' | xargs rm -rf
+# Triggering the README target means we are building a distribution (make dist).
+README: configure-version
+
+ChangeLog:
+ (cd $(srcdir) && git log) > ChangeLog
deb:
dpkg-buildpackage -rfakeroot
deb:
dpkg-buildpackage -rfakeroot
@@
-26,5
+33,8
@@
release:
rm -f ChangeLog
$(MAKE) ChangeLog
echo "Please edit the NEWS file now..."
rm -f ChangeLog
$(MAKE) ChangeLog
echo "Please edit the NEWS file now..."
- /usr/bin/editor NEWS
+ /usr/bin/editor
$(srcdir)/
NEWS
$(MAKE) dist
$(MAKE) dist
+
+astyle:
+ astyle --options=.astylerc -nQ src/*.[ch] src/*/*.[ch] test/*.[ch]