diff --git a/doc/Makefile.am b/doc/Makefile.am
index 8e52084578c7b0731bec40e0936659b2b0c22198..f5f2cb15de49da63525c83dd44254056cb320216 100644 (file)
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
rpntutorial.pod rrdfirst.pod rrdgraph_rpn.pod rrdtool.pod rrdcached.pod \
rrd-beginners.pod rrdinfo.pod rrdtune.pod rrdbuild.pod rrdflush.pod \
rrdcgi.pod rrdgraph.pod rrdlast.pod rrdlastupdate.pod \
- rrdcreate.pod rrdgraph_data.pod rrdresize.pod rrdtutorial.pod
+ rrdcreate.pod rrdgraph_data.pod rrdresize.pod rrdtutorial.pod
+if BUILD_LIBDBI
+ POD += rrdgraph_libdbi.pod
+endif
+
+if BUILD_LUA
+ POD += rrdlua.pod
+endif
PMP = RRDs.pod RRDp.pod
PDF = $(MAN:.1=.pdf)
# what should go into the distribution
-EXTRA_DIST= $(POD) $(HTML) $(MAN) $(TXT) rrdtool-dump.dtd rrdtool-xport.dtd
+EXTRA_DIST= $(POD) $(HTML) $(MAN) $(TXT) rrdtool-dump.dtd rrdtool-xport.dtd rrdgraph_libdbi.pod rrdlua.pod
idocdir = $(RRDDOCDIR)/txt
idoc_DATA = $(POD) $(TXT)