Missing file in manual build.
[dcpomatic.git] / doc / manual / Makefile
index 5ca5700f9dca9f6544070f1753d121ece8633661..328242e3331a2d4e5333ff33ad21fa8ae897076b 100644 (file)
@@ -3,30 +3,26 @@
 all:   html pdf
 
 DIAGRAMS := file-structure.svg 3d-left-right.svg 3d-top-bottom.svg timecode.svg pipeline1.svg pipeline2.svg \
-            pipeline3.svg pipeline4.svg
+            pipeline3.svg pipeline4.svg burn-in.svg discrete.svg dcp-copy.svg dcp-refer.svg reels-by-video.svg \
+           crypt.svg
 
 SCREENSHOTS := file-new.png video-new-film.png still-new-film.png video-select-content-file.png \
                still-select-content-file.png examine-thumbs.png examine-content.png timing-tab.png \
                calculate-audio-gain.png add-file.png dcp-tab.png colour-conversion.png \
-               prefs-kdm-email.png prefs-colour-conversions.png prefs-metadata.png prefs-general.png prefs-tms.png \
+               prefs-kdm-email.png prefs-general.png prefs-tms.png \
                prefs-advanced.png prefs-defaults.png prefs-servers.png prefs-keys.png \
-               making-dcp.png filters.png video-tab.png audio-tab.png subtitles-tab.png timing-tab.png \
-               audio-plot.png audio-map-eg1.png audio-map-eg2.png audio-map-eg3.png kdm.png
+               making-dcp.png filters.png video-tab.png audio-tab.png timing-tab.png \
+               audio-plot.png audio-map-eg1.png audio-map-eg2.png audio-map-eg3.png kdm.png \
+              kdm-creator.png export.png
 
 XML := dcpomatic.xml
 
-GRAPHICS := 
-
 #
-# For the HTML, default to copying the screenshots direct
+# For the HTML: copy screenshots into html/screenshots, scaling some.
 #
 html/screenshots/%.png: screenshots/%.png
        mkdir -p html/screenshots
        cp $< $@
-
-#
-# Some need resizing...
-#
 html/screenshots/editor.png: screenshots/editor.png
        mkdir -p html/screenshots
        convert -resize 50% $< $@
@@ -57,14 +53,9 @@ html/screenshots/export-dialogue.png: screenshots/export-dialogue.png
 html/screenshots/making-dcp.png: screenshots/making-dcp.png
        mkdir -p html/screenshots
        convert -resize 75% $< $@
-
-# For HTML: convert graphics from SVG to PNG
-graphics/%.png:        graphics/%.svg
-       inkscape -z -f $< --export-png $@ --export-area-drawing
-
-# For LaTeX/PDF: convert graphics from SVG to PDF
-graphics/%.pdf:        graphics/%.svg
-       inkscape -z -f $< --export-pdf $@ --export-area-drawing
+html/screenshots/kdm-creator.png: screenshots/kdm-creator.png
+       mkdir -p html/screenshots
+       convert -resize 75% $< $@
 
 # For HTML: convert diagrams from SVG to PNG
 diagrams/%.png:        diagrams/%.svg
@@ -74,14 +65,16 @@ diagrams/%.png:     diagrams/%.svg
 diagrams/%.pdf:        diagrams/%.svg
        inkscape -z -f $< --export-pdf $@ --export-area-drawing
 
+config.xml:    ../../src/lib/config.cc config.py
+       python3 config.py ../../src/lib/config.cc > config.xml
+
 #
 # HTML
 #
 
-html:  $(XML) dcpomatic-html.xsl extensions-html.ent dcpomatic.css \
+html:  $(XML) config.xml dcpomatic-html.xsl extensions-html.ent dcpomatic.css dcpomatic_create.xml dcpomatic_cli.xml dcpomatic_kdm_cli.xml \
        $(addprefix html/screenshots/,$(SCREENSHOTS)) \
        $(subst .svg,.png,$(addprefix diagrams/,$(DIAGRAMS))) \
-       $(subst .svg,.png,$(addprefix graphics/,$(GRAPHICS))) \
 
 #      The DocBook needs to know what file extensions to look for
 #      for screenshots and diagrams; use the correct file to tell it.
@@ -92,16 +85,16 @@ html:       $(XML) dcpomatic-html.xsl extensions-html.ent dcpomatic.css \
 
 #      Copy graphics and CSS in
        mkdir -p html/diagrams
-#       mkdir -p html/graphics
        cp diagrams/*.png html/diagrams
-#      cp graphics/*.png html/graphics
        cp dcpomatic.css html
 
 #
 # PDF
 #
 
-pdf:   $(XML) dcpomatic-pdf.xsl extensions-pdf.ent screenshots/*.png $(subst .svg,.pdf,$(addprefix diagrams/,$(DIAGRAMS)))
+pdf:   $(XML) config.xml dcpomatic-pdf.xsl extensions-pdf.ent dcpomatic_create.xml dcpomatic_cli.xml dcpomatic_kdm_cli.xml \
+       $(addprefix screenshots/,$(SCREENSHOTS)) \
+       $(subst .svg,.pdf,$(addprefix diagrams/,$(DIAGRAMS)))
 
 #      The DocBook needs to know what file extensions to look for
 #      for screenshots and diagrams; use the correct file to tell it.
@@ -116,7 +109,7 @@ pdf:        $(XML) dcpomatic-pdf.xsl extensions-pdf.ent screenshots/*.png $(subst .svg,
 # LaTeX (handy for debugging)
 #
 
-tex:   $(XML) dcpomatic-pdf.xsl extensions-pdf.ent
+tex:   $(XML) config.xml dcpomatic-pdf.xsl extensions-pdf.ent
 
 #      The DocBook needs to know what file extensions to look for
 #      for screenshots and diagrams; use the correct file to tell it.