diff doc/Makefile @ 8096:ea1f377c87d6

docs: add roundup-admin interactive help output to admin_guide.txt This only works for html output. It is recreated if admin.py changes.
author John Rouillard <rouilj@ieee.org>
date Tue, 16 Jul 2024 22:02:39 -0400
parents 08fcbdfe670b
children d4fbfc6a7662
line wrap: on
line diff
--- a/doc/Makefile	Tue Jul 16 21:45:10 2024 -0400
+++ b/doc/Makefile	Tue Jul 16 22:02:39 2024 -0400
@@ -1,4 +1,4 @@
-all:  man_html tracker_config.txt
+all:  man_html tracker_config.txt admin_help.html
 	cd ..; ./setup.py build_doc
 
 tracker_config.txt: ../roundup/configuration.py
@@ -23,6 +23,10 @@
 	sed -i '/<style/,/<\/style/s/\(p\s* { \)margin/\1max-width: 65ch; margin/' $@
 	#man2html $< > $@
 
+admin_help.html: ../roundup/admin.py
+	python3 ../roundup/scripts/roundup_admin.py htmlhelp > admin_help.py
+
 clean:
 	rm -f _temp_config.txt tracker_config.txt \
-	      html_extra/man_pages/*.1.html
+	      html_extra/man_pages/*.1.html \
+	      admin_help.py

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