Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

Commit

Permalink
build: include html directory in release tarballs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Hergert committed Aug 27, 2014
1 parent ae5c045 commit bcf8ba7
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,25 @@ man: $(BUILT_MAN_FILES)
endif

if ENABLE_HTML_DOCS
html:
html $(YELP_HTML_FILES):
@ $(MKDIR_P) doc/html
$(AM_V_GEN)$(YELP_BUILD) html -o doc/html $(wildcard $(top_srcdir)/doc/*.page)

EXTRA_DIST += $(wildcard doc/html/*)
YELP_HTML_FILES = \
doc/html/C.css \
doc/html/jquery.js \
doc/html/jquery.syntax.brush.clang.js \
doc/html/jquery.syntax.core.js \
doc/html/jquery.syntax.js \
doc/html/jquery.syntax.layout.yelp.js \
doc/html/yelp-note-tip.png \
doc/html/yelp-note-warning.png \
doc/html/yelp-note.png \
doc/html/yelp.js

BUILT_HTML_FILES = $(patsubst doc/%.page,doc/html/%.html,$(wildcard doc/*.page))
EXTRA_DIST += $(BUILT_HTML_FILES)
EXTRA_DIST += $(YELP_HTML_FILES)
DISTCLEANFILES += $(wildcard doc/html/*)
endif

Expand Down

0 comments on commit bcf8ba7

Please sign in to comment.