gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-fuse] 03/12: add make pretty.


From: gnunet
Subject: [gnunet-fuse] 03/12: add make pretty.
Date: Wed, 20 Nov 2019 00:00:43 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet-fuse.

commit b0448da087b46835700c6246728ff50f66eb4172
Author: ng0 <address@hidden>
AuthorDate: Tue Nov 19 19:31:27 2019 +0000

    add make pretty.
---
 Makefile.am | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 654c21a..90013db 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,16 @@
 
 SUBDIRS = src doc po
 
-EXTRA_DIST = config.rpath  \
-  install-sh
+EXTRA_DIST = config.rpath install-sh
 
 ACLOCAL_AMFLAGS = -I m4
+
+if HAVE_UNCRUSTIFY_BINARY
+MCRUSTIFY = find $(top_srcdir) -type f -name '*.c' -or -name '*.h' -print0 | 
xar
+gs -0 uncrustify -c $(top_srcdir)/uncrustify.cfg -q --replace --no-backup 2>&1 
|| true
+else
+MCRUSTIFY = echo "crustify: skipped"
+endif
+
+pretty:
+       $(MCRUSTIFY)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]