Skip to content

Commit ecdaa07

Browse files
authored
Merge pull request #1727 from wilzbach/fix-ebook-ddoc
Ignore $(RUNNABLE_EXAMPLE) for eBook & LaTeX build merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2 parents 7f5d85e + 54acca7 commit ecdaa07

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ dlangspec.log
2525
dlangspec.out
2626
dlangspec.tex
2727
dlangspec.mobi
28+
dlangspec.toc
2829

2930
/web
3031
Makefile

ebook.ddoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,7 @@ DDLINK=$(RELATIVE_LINK2 $2, $3)
5353
DDSUBLINK=$(RELATIVE_LINK2 $2, $3)
5454
DPLLINK=$(LINK2 https://dlang.org/$1, $2)
5555
NOT_EBOOK=
56+
RUNNABLE_EXAMPLE=$0
57+
RUNNABLE_EXAMPLE_STDIN=
58+
RUNNABLE_EXAMPLE_ARGS=
5659
_=

latex.ddoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ RED={\color{red}$0}
245245
REF=$(D $2$(DOT_PREFIXED_SKIP $+).$1)
246246
REG=$(COPY)
247247
RELATIVE_LINK2=$(LINK2 $1,$+)
248+
RUNNABLE_EXAMPLE=$0
249+
RUNNABLE_EXAMPLE_STDIN=
250+
RUNNABLE_EXAMPLE_ARGS=
248251
_=
249252

250253
SCINI=\lstinline{$0}

0 commit comments

Comments
 (0)