| 1 |
include $(top_srcdir)/build/vars.docs.mk |
| 2 |
plugin = geanygendoc |
| 3 |
pluginhtmldocdir = $(plugindocdir)/html |
| 4 |
|
| 5 |
# CSS used in the manual, in the order it should be used |
| 6 |
MANUAL_CSS = \ |
| 7 |
html4css1.css \ |
| 8 |
manual.css |
| 9 |
|
| 10 |
EXTRA_DIST = $(MANUAL_CSS) |
| 11 |
|
| 12 |
dist_plugindoc_DATA = \ |
| 13 |
manual.rst |
| 14 |
|
| 15 |
dist_pluginhtmldoc_DATA = \ |
| 16 |
manual.html |
| 17 |
|
| 18 |
if BUILD_RST |
| 19 |
manual-combined.css: $(MANUAL_CSS) |
| 20 |
$(AM_V_GEN) cat $^ > $@ |
| 21 |
manual.html: manual.rst manual-combined.css |
| 22 |
$(AM_V_GEN) $(RST2HTML) -d --strict \ |
| 23 |
--stylesheet-path manual-combined.css \ |
| 24 |
$(srcdir)/manual.rst $@ |
| 25 |
|
| 26 |
CLEANFILES = \ |
| 27 |
manual-combined.css \ |
| 28 |
manual.html |
| 29 |
|
| 30 |
endif BUILD_RST |