Experiment with reindenting.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 17 Jun 2017 16:04:26 +0000 (12:04 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 17 Jun 2017 16:04:26 +0000 (12:04 -0400)
Makefile

index 061087a8a40b8ac36c0d2644f1ad8ddcfa1b0c6d..6de87891d419cfe03bcc205e5a4548b05290b0f0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -104,6 +104,9 @@ advent-$(VERS).tar.gz: $(SOURCES) $(DOCS)
        (tar -T MANIFEST -czvf advent-$(VERS).tar.gz)
        @(rm advent-$(VERS))
 
+indent:
+       astyle -n -A3 --pad-first-paren-out --min-conditional-indent=1 --pad-oper *.c
+
 release: advent-$(VERS).tar.gz advent.html history.html hints.html notes.html
        shipper version=$(VERS) | sh -e -x