gnunet-fuse

GNUnet file-sharing directory mounting via FUSE
Log | Files | Refs | Submodules | README | LICENSE

commit b0448da087b46835700c6246728ff50f66eb4172
parent 367b41d08b0c3164e02c83fa28ba7fe140247024
Author: ng0 <ng0@n0.is>
Date:   Tue, 19 Nov 2019 19:31:27 +0000

add make pretty.

Diffstat:
MMakefile.am | 13+++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)

diff --git 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)