[dbus PATCH 2/2] AUTHORS: Indent list of contributors

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

 



The list of maintainers is already indented, so doing the
same (programmatically) for the list of contributors as
well makes the result quite a bit nicer.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 8abba68..f5fd8d7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,7 +29,8 @@ dist-hook: gen-AUTHORS
 .PHONY: gen-AUTHORS
 gen-AUTHORS:
 	$(AM_V_GEN)if test -d $(srcdir)/.git; then                      \
-	  out="`cd $(srcdir) && git log --pretty=format:'%aN <%aE>' | sort -u`" && \
+	  out="`cd $(srcdir) && git log --pretty=format:'%aN <%aE>'`" && \
+	  out="`echo "$$out" | sort -u | sed 's/^/    /g'`" && \
 	  perl -p -e "s/#authorslist#// and print '$$out'"            \
 	    < $(srcdir)/AUTHORS.in > $(distdir)/AUTHORS-tmp &&        \
 	  mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS ;           \
-- 
2.17.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux