Skip to content
Permalink
Browse files

doc: Automatic config file adjustments

By default:

* Two spaces after '#'.
* No spaces at the end of a line.
  • Loading branch information...
jpereira authored and arr2036 committed Apr 20, 2019
1 parent fb0f3b8 commit c96eda99fd1f941d7a02e8c933fc3cad202f23c7
Showing with 1 addition and 0 deletions.
  1. +1 −0 doc/all.mk
@@ -90,6 +90,7 @@ doc/raddb/%.adoc: raddb/%.md
doc/raddb/%.adoc: raddb/%
@echo ADOC $^
@mkdir -p $(dir $@)
@perl -pi -e 's/^# ([^ \t])/# $$1/;s/^([ \t]+)# ([^ \t])/$$1# $$2/;s/[ \t]+$$//' $^
@./scripts/asciidoc/conf2adoc -a ${top_srcdir}/asciidoc -o $@ < $^

doc/%.html: doc/%.adoc

0 comments on commit c96eda9

Please sign in to comment.
You can’t perform that action at this time.