From 0c95329f1571453f48ced75621939ef0de3de14b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 7 May 2019 11:38:37 +0100 Subject: [PATCH] More manual build fixes. --- doc/manual/Makefile | 12 ------------ doc/manual/make_cli_xml | 8 ++++++++ 2 files changed, 8 insertions(+), 12 deletions(-) create mode 100644 doc/manual/make_cli_xml 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 -- 2.30.2