summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-07 11:38:37 +0100
committerCarl Hetherington <cth@carlh.net>2019-05-07 11:38:37 +0100
commit0c95329f1571453f48ced75621939ef0de3de14b (patch)
treec656f0fd2e514fe3c39bbbecf5bd85a7b4b8872e
parent2df5e3ab3636e0c38c3003631d0d6acdb5bd23c6 (diff)
More manual build fixes.
-rw-r--r--doc/manual/Makefile12
-rw-r--r--doc/manual/make_cli_xml8
2 files changed, 8 insertions, 12 deletions
diff --git a/doc/manual/Makefile b/doc/manual/Makefile
index f7120493e..128c924bf 100644
--- a/doc/manual/Makefile
+++ b/doc/manual/Makefile
@@ -68,18 +68,6 @@ diagrams/%.pdf: diagrams/%.svg
config.xml: ../../src/lib/config.cc config.py
python3 config.py ../../src/lib/config.cc > config.xml
-# These require the tools to be runnable, so make needs to be run
-# in a built tree to update them. The .xml files are committed
-# to git to avoid this always being necessary.
-dcpomatic_create.xml: ../../src/tools/dcpomatic_create.cc cli.py
- python3 cli.py dcpomatic_create > dcpomatic_create.xml
-
-dcpomatic_cli.xml: ../../src/tools/dcpomatic_cli.cc cli.py
- python3 cli.py dcpomatic_cli > dcpomatic_cli.xml
-
-dcpomatic_kdm_cli.xml: ../../src/tools/dcpomatic_kdm_cli.cc cli.py
- python3 cli.py dcpomatic_kdm_cli > dcpomatic_kdm_cli.xml
-
#
# HTML
#
diff --git a/doc/manual/make_cli_xml b/doc/manual/make_cli_xml
new file mode 100644
index 000000000..625aecade
--- /dev/null
+++ b/doc/manual/make_cli_xml
@@ -0,0 +1,8 @@
+#!/bin/bash
+#
+# Run this in a tree where these tools can be run
+#
+
+python3 cli.py dcpomatic_create > dcpomatic_create.xml
+python3 cli.py dcpomatic_cli > dcpomatic_cli.xml
+python3 cli.py dcpomatic_kdm_cli > dcpomatic_kdm_cli.xml \ No newline at end of file