comparison doc/Makefile @ 8075:08fcbdfe670b

docs: set max width for man page paragraphs to 65ch The man pages aren't displayed using the css for the rest of the site. The man pages lines are too long to read comfortably. Limit line length.
author John Rouillard <rouilj@ieee.org>
date Sat, 13 Jul 2024 00:10:18 -0400
parents 8b5f8b950f58
children ea1f377c87d6
comparison
equal deleted inserted replaced
8074:e1c477c5d63f 8075:08fcbdfe670b
17 17
18 man_html: $(MAN_HTML) 18 man_html: $(MAN_HTML)
19 19
20 html_extra/man_pages/%.1.html: ../share/man/man1/%.1 20 html_extra/man_pages/%.1.html: ../share/man/man1/%.1
21 man --html=cat $< > $@ 21 man --html=cat $< > $@
22 # set max width for paragraphs
23 sed -i '/<style/,/<\/style/s/\(p\s* { \)margin/\1max-width: 65ch; margin/' $@
22 #man2html $< > $@ 24 #man2html $< > $@
23 25
24 clean: 26 clean:
25 rm -f _temp_config.txt tracker_config.txt \ 27 rm -f _temp_config.txt tracker_config.txt \
26 html_extra/man_pages/*.1.html 28 html_extra/man_pages/*.1.html

Roundup Issue Tracker: http://roundup-tracker.org/