More manual build fixes.
authorCarl Hetherington <cth@carlh.net>
Tue, 7 May 2019 10:38:37 +0000 (11:38 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 7 May 2019 10:38:37 +0000 (11:38 +0100)
doc/manual/Makefile
doc/manual/make_cli_xml [new file with mode: 0644]

index f712049..128c924 100644 (file)
@@ -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 (file)
index 0000000..625aeca
--- /dev/null
@@ -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