Skip to content

Commit 3e28150

Browse files
committed
build: include html files in release tarballs
1 parent dcb1958 commit 3e28150

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

doc/Makefile.am

+16-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,25 @@ man: $(BUILT_MAN_FILES)
2222
endif
2323

2424
if ENABLE_HTML_DOCS
25-
html:
25+
html $(YELP_HTML_FILES):
2626
@ $(MKDIR_P) doc/html
2727
$(AM_V_GEN)$(YELP_BUILD) html -o doc/html $(wildcard $(top_srcdir)/doc/*.page)
2828

29-
EXTRA_DIST += $(wildcard doc/html/*)
29+
YELP_HTML_FILES = \
30+
doc/html/C.css \
31+
doc/html/jquery.js \
32+
doc/html/jquery.syntax.brush.clang.js \
33+
doc/html/jquery.syntax.core.js \
34+
doc/html/jquery.syntax.js \
35+
doc/html/jquery.syntax.layout.yelp.js \
36+
doc/html/yelp-note-tip.png \
37+
doc/html/yelp-note-warning.png \
38+
doc/html/yelp-note.png \
39+
doc/html/yelp.js
40+
41+
BUILT_HTML_FILES = $(patsubst doc/%.page,doc/html/%.html,$(wildcard doc/*.page))
42+
EXTRA_DIST += $(BUILT_HTML_FILES)
43+
EXTRA_DIST += $(YELP_HTML_FILES)
3044
DISTCLEANFILES += $(wildcard doc/html/*)
3145
endif
3246

doc/aggregate.page

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<page xmlns="http://projectmallard.org/1.0/"
22
type="topic"
3-
id="aggregation">
3+
id="aggregate">
44
<info><link xref="index#aggregation" type="guide"/></info>
55
<title>Aggregation Framework Examples</title>
66

doc/basic-troubleshooting.page

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<page xmlns="http://projectmallard.org/1.0/"
22
type="topic"
3-
id="debugging">
3+
id="basic-troubleshooting">
44

55
<section id="basic-troubleshooting">
66
<info>

0 commit comments

Comments
 (0)