Origin: other
Last-Update: 2019-01-03
Current documentation build requires git and curl to get some stuff from the internet
This patch aims to delete those dependencies, forcing git branch to master,
and using Debian provided plantuml instead of downloading it from apache mirror
Last-Update: 2019-01-03
Gbp-Pq: Name 0006-fix-doc-build.patch
# The PAPER setting variables requires recursive make variable expansion, which automake
# detects as non-portable. We bounce this through a shell script and do the expansion there.
SBUILD = PAPEROPT_a4="$(PAPEROPT_a4)" PAPEROPT_letter="$(PAPEROPT_letter)" PAPER="$(PAPER)" \
- PLANTUML_JAR="$(shell ext/plantuml_fetch.sh | tail -1)" \
+ PLANTUML_JAR="/usr/share/plantuml/plantuml.jar" \
$(srcdir)/sbuild $(SPHINXBUILD) \
-c $(srcdir) \
$(ALLSPHINXOPTS)
autoconf_version = '.'.join(match.group(1).split('.', 2)[:2] + ['x'])
# get the current branch the local repository is on
-git_branch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
+git_branch = "master"
def make_github_link(name, rawtext, text, lineno, inliner, options={}, content=[]):
if BUILD_DOCS
images := $(patsubst %.uml,images/%.svg,$(wildcard *.uml))
-PLANTUML_JAR := $(shell ../ext/plantuml_fetch.sh | tail -1)
+PLANTUML_JAR := /usr/share/plantuml/plantuml.jar
all-am: jar-check $(images)
endif
man: all-am
images/%.svg : %.uml
- $(JAVA) -jar $(PLANTUML_JAR) -o images -tsvg $<
+ $(JAVA) -jar $(PLANTUML_JAR) -graphvizdot /usr/bin/dot -o images -tsvg $<
clean-local:
rm -f images/*.svg