[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: impove make pretty nesting.
From: |
gnunet |
Subject: |
[gnunet] branch master updated: impove make pretty nesting. |
Date: |
Sun, 27 Oct 2019 14:09:59 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 8ab5451d5 impove make pretty nesting.
8ab5451d5 is described below
commit 8ab5451d5ed72e662dadee139e0cb6913366ce43
Author: ng0 <address@hidden>
AuthorDate: Sun Oct 27 13:07:15 2019 +0000
impove make pretty nesting.
---
Makefile.am | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 579939b09..34e2c5e97 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,11 +39,14 @@ doc_DATA = COPYING README
ACLOCAL_AMFLAGS = -I m4
-# TODO: better nesting.
if HAVE_UNCRUSTIFY_BINARY
-pretty:
- find $(top_srcdir) -type f -name '*.c' -or -name '*.h' -print0 | xargs
-0 uncrustify -c $(top_srcdir)/contrib/uncrustify.cfg --replace --no-backup
2>&1 || true
-if HAVE_YAPF_BINARY
- find $(top_srcdir) -type f -name '*.py' -or -name '*.py.in' -print0 |
xargs -0 $(YAPF_BINARY) -i 2>&1 || true
+MCRUSTIFY = find $(top_srcdir) -type f -name '*.c' -or -name '*.h' -print0 |
xargs -0 uncrustify -c $(top_srcdir)/contrib/uncrustify.cfg --replace
--no-backup 2>&1 || true
endif
+
+if HAVE_YAPF_BINARY
+MYAPF = find $(top_srcdir) -type f -name '*.py' -or -name '*.py.in' -print0 |
xargs -0 $(YAPF_BINARY) -i 2>&1 || true
endif
+
+pretty:
+ $(MCRUSTIFY)
+ $(MYAPF)
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: impove make pretty nesting.,
gnunet <=