summaryrefslogtreecommitdiff
path: root/doc/manual/Makefile
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-06 01:16:28 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-06 01:16:35 +0200
commitda5a9e65ca466fe6652bafc04d344b7a57efcaf0 (patch)
tree589cb676f59cc2130f5c6a554605063f5ddc00c9 /doc/manual/Makefile
parent969906f2dd6c5c144781861f53e2a0f6baefb9a3 (diff)
Add some details about verification to the manual.
Diffstat (limited to 'doc/manual/Makefile')
-rw-r--r--doc/manual/Makefile19
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/manual/Makefile b/doc/manual/Makefile
index d57dd2630..d08dffe51 100644
--- a/doc/manual/Makefile
+++ b/doc/manual/Makefile
@@ -1,6 +1,7 @@
# DCP-o-matic manual makefile
INKSCAPE = ~/Applications/inkscape
+LIBDCP = ~/src/libdcp
all: html pdf
@@ -104,11 +105,24 @@ SHORTCUTS := ../../src/tools/dcpomatic.cc
shortcuts.xml: $(SHORTCUTS) shortcuts.py
python3 shortcuts.py $(SHORTCUTS) > $@
+LIBDCP_DEPS = $(LIBDCP)/src/verify_j2k.cc $(LIBDCP)/src/dcp.cc $(LIBDCP)/src/verify.cc
+
+verify_errors.xml: verifier.py $(LIBDCP_DEPS)
+ python3 verifier.py $(LIBDCP) ERROR > $@
+
+verify_bv21_errors.xml: verifier.py $(LIBDCP_DEPS)
+ python3 verifier.py $(LIBDCP) BV21_ERROR > $@
+
+verify_warnings.xml: verifier.py $(LIBDCP_DEPS)
+ python3 verifier.py $(LIBDCP) WARNING > $@
+
+
#
# HTML
#
-html: $(XML) config.xml shortcuts.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 verify_errors.xml verify_bv21_errors.xml verify_warnings.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))) \
@@ -128,7 +142,8 @@ html: $(XML) config.xml shortcuts.xml dcpomatic-html.xsl extensions-html.ent dcp
# PDF
#
-pdf: $(XML) config.xml dcpomatic-pdf.xsl extensions-pdf.ent dcpomatic_create.xml dcpomatic_cli.xml dcpomatic_kdm_cli.xml \
+pdf: $(XML) config.xml shortcuts.xml verify_errors.xml verify_bv21_errors.xml verify_warnings.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)))