Skip to content

Commit 9780f34

Browse files
authored
Merge pull request #1942 from LinuxCNC/fix-deb-build-again
Fix deb build again
2 parents 0e11895 + 5610245 commit 9780f34

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

debian/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ elif [ -f /etc/lsb-release ]; then
6262
fi
6363

6464
if [ -n "$ENABLE_BUILD_DOCUMENTATION" ]; then
65-
DOC_DEPENDS="asciidoc (>= 8.5),\n dblatex (>= 0.2.12),\n docbook-xsl,\n dvipng,\n ghostscript,\n graphviz,\n groff,\n imagemagick,\n inkscape,\n python3-lxml,\n source-highlight,\n w3c-linkchecker,\n xsltproc,\n texlive-extra-utils,\n texlive-font-utils,\n texlive-fonts-recommended,\n texlive-lang-cyrillic,\n texlive-lang-european,\n texlive-lang-french,\n texlive-lang-german,\n texlive-lang-polish,\n texlive-lang-spanish,\n texlive-latex-recommended,\n asciidoc-dblatex"
65+
DOC_DEPENDS="dblatex (>= 0.2.12),\n docbook-xsl,\n dvipng,\n graphviz,\n groff,\n inkscape,\n python3-lxml,\n w3c-linkchecker,\n xsltproc,\n texlive-extra-utils,\n texlive-font-utils,\n texlive-fonts-recommended,\n texlive-lang-cyrillic,\n texlive-lang-european,\n texlive-lang-french,\n texlive-lang-german,\n texlive-lang-polish,\n texlive-lang-spanish,\n texlive-latex-recommended,\n fonts-dejavu"
6666

6767
case $DISTRIB_NAME in
6868
Debian-9)

debian/control.top.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Build-Depends:
1010
@KERNEL_HEADERS@,
1111
@MODUTILS_DEPENDS@,
1212
@EXTRA_BUILD@,
13+
asciidoc,
14+
ghostscript,
15+
imagemagick,
16+
source-highlight,
17+
asciidoc-dblatex,
1318
autoconf,
1419
automake,
1520
bwidget (>= 1.7),

debian/rules.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ override_dh_installdocs-arch:
9191

9292
override_dh_auto_install-indep:
9393
DESTDIR=$(DESTDIR) $(MAKE) -C src install-docs install-doc
94+
# Remove the docs we just built that we don't have debs for yet...
95+
rm -f $(DESTDIR)/usr/share/doc/linuxcnc/*_de.pdf
96+
rm -f $(DESTDIR)/usr/share/doc/linuxcnc/*_nb.pdf
9497

9598
override_dh_installdocs-indep:
9699
# The G-code quick reference html docs are built as

0 commit comments

Comments
 (0)