Add comments for shortcuts and extract them for the manual (#2073).
[dcpomatic.git] / doc / manual / Makefile
index 6e2c12d41b5b27acdd75532787fe0fd5bdfb51a3..d57dd26307f8f2a657eae9d383abc7d707b622c1 100644 (file)
@@ -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))) \