summaryrefslogtreecommitdiff
path: root/doc/manual/Makefile
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-08-17 22:49:10 +0200
committerCarl Hetherington <cth@carlh.net>2021-08-17 22:49:10 +0200
commit3f047eef5b84c4212da865b5cdadb70076f07805 (patch)
tree30731e46b7e57416f22d6aece914c413ae826943 /doc/manual/Makefile
parent924f4edb20d14bc697956254951fb87513cf2e19 (diff)
Add comments for shortcuts and extract them for the manual (#2073).
Diffstat (limited to 'doc/manual/Makefile')
-rw-r--r--doc/manual/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/manual/Makefile b/doc/manual/Makefile
index 6e2c12d41..d57dd2630 100644
--- a/doc/manual/Makefile
+++ b/doc/manual/Makefile
@@ -99,11 +99,16 @@ diagrams/%.pdf: diagrams/%.svg
config.xml: ../../src/lib/config.cc config.py
python3 config.py ../../src/lib/config.cc > config.xml
+SHORTCUTS := ../../src/tools/dcpomatic.cc
+
+shortcuts.xml: $(SHORTCUTS) shortcuts.py
+ python3 shortcuts.py $(SHORTCUTS) > $@
+
#
# HTML
#
-html: $(XML) config.xml dcpomatic-html.xsl extensions-html.ent dcpomatic.css dcpomatic_create.xml dcpomatic_cli.xml dcpomatic_kdm_cli.xml \
+html: $(XML) config.xml shortcuts.xml dcpomatic-html.xsl extensions-html.ent dcpomatic.css dcpomatic_create.xml dcpomatic_cli.xml dcpomatic_kdm_cli.xml \
$(subst .pdf,.png,$(addprefix html/screenshots/,$(SCREENSHOTS))) \
$(subst .svg,.png,$(addprefix diagrams/,$(DIAGRAMS))) \