diff --git a/doc/Makefile.in b/doc/Makefile.in
index fe4852eee9d9b4c235fa76d89d3163a353adfae1..975c9d4f01913f211faef77bdb3ef4e889f69544 100644 (file)
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__installdirs = "$(DESTDIR)$(idocdir)" "$(DESTDIR)$(ihtmldir)" \
- "$(DESTDIR)$(imandir)"
-DATA = $(idoc_DATA) $(ihtml_DATA) $(iman_DATA)
+ "$(DESTDIR)$(imandir)" "$(DESTDIR)$(iman3dir)"
+DATA = $(idoc_DATA) $(ihtml_DATA) $(iman_DATA) $(iman3_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
ALLOCA = @ALLOCA@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-SUFFIXES = .pod .1 .man .html .txt .pm .pdf .inc
-
-#AUTOMAKE_OPTIONS = foreign
+SUFFIXES = .pod .pl .1 .3 .man .html .txt .pm .pdf .inc
+AUTOMAKE_OPTIONS = foreign
#ACLOCAL_M4 = $(top_srcdir)/config/aclocal.m4
-CLEANFILES = *.1 *.html *.txt *-dircache RRD?.pod *.pdf *~ core *itemcache *.rej *.orig *.tmp
+CLEANFILES = *.1 *.3 *.html *.txt *-dircache RRD?.pod *.pdf *~ core *itemcache *.rej *.orig *.tmp
POD = bin_dec_hex.pod rrddump.pod rrdgraph_examples.pod rrdrestore.pod \
rrdupdate.pod cdeftutorial.pod rrdfetch.pod rrdgraph_graph.pod \
rrdthreads.pod rrdxport.pod rpntutorial.pod rrdfirst.pod \
rrdinfo.pod rrdtune.pod rrdbuild.pod rrdflushcached.pod \
rrdcgi.pod rrdgraph.pod rrdlast.pod rrdlastupdate.pod \
rrdcreate.pod rrdgraph_data.pod rrdresize.pod rrdtutorial.pod \
- librrd.pod $(am__append_1) $(am__append_2)
+ $(am__append_1) $(am__append_2)
+POD3 = librrd.pod
PMP = RRDs.pod RRDp.pod
MAN = $(POD:.pod=.1)
-TXT = $(MAN:.1=.txt)
-HTML = $(POD:.pod=.html) $(PMP:.pod=.html)
-PDF = $(MAN:.1=.pdf)
+MAN3 = $(POD3:.pod=.3)
+TXT = $(MAN:.1=.txt) $(MAN3:.3=.txt)
+HTML = $(POD:.pod=.html) $(POD3:.pod=.html) $(PMP:.pod=.html)
+PDF = $(MAN:.1=.pdf) $(MAN3:.3=.pdf)
# what should go into the distribution
-EXTRA_DIST = $(POD) $(HTML) $(MAN) $(TXT) rrdtool-dump.dtd rrdtool-xport.dtd rrdgraph_libdbi.pod rrdlua.pod
+EXTRA_DIST = $(POD) $(POD3) $(HTML) $(MAN) $(MAN3) $(TXT) rrdtool-dump.dtd rrdtool-xport.dtd rrdgraph_libdbi.pod rrdlua.pod
idocdir = $(RRDDOCDIR)/txt
idoc_DATA = $(POD) $(TXT)
ihtmldir = $(RRDDOCDIR)/html
ihtml_DATA = $(HTML)
imandir = $(mandir)/man1
iman_DATA = $(MAN)
+iman3dir = $(mandir)/man3
+iman3_DATA = $(MAN3)
all: all-am
.SUFFIXES:
-.SUFFIXES: .pod .1 .man .html .txt .pm .pdf .inc .pl .src
+.SUFFIXES: .pod .pl .1 .3 .man .html .txt .pm .pdf .inc .src
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
$(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --gnu doc/Makefile
+ $(AUTOMAKE) --foreign doc/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
test -n "$$files" || exit 0; \
echo " ( cd '$(DESTDIR)$(imandir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(imandir)" && rm -f $$files
+install-iman3DATA: $(iman3_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(iman3dir)" || $(MKDIR_P) "$(DESTDIR)$(iman3dir)"
+ @list='$(iman3_DATA)'; test -n "$(iman3dir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iman3dir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(iman3dir)" || exit $$?; \
+ done
+
+uninstall-iman3DATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(iman3_DATA)'; test -n "$(iman3dir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(iman3dir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(iman3dir)" && rm -f $$files
tags: TAGS
TAGS:
check: check-am
all-am: Makefile $(DATA) all-local
installdirs:
- for dir in "$(DESTDIR)$(idocdir)" "$(DESTDIR)$(ihtmldir)" "$(DESTDIR)$(imandir)"; do \
+ for dir in "$(DESTDIR)$(idocdir)" "$(DESTDIR)$(ihtmldir)" "$(DESTDIR)$(imandir)" "$(DESTDIR)$(iman3dir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
info-am:
-install-data-am: install-idocDATA install-ihtmlDATA install-imanDATA
+install-data-am: install-idocDATA install-ihtmlDATA install-iman3DATA \
+ install-imanDATA
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
install-dvi: install-dvi-am
ps-am:
uninstall-am: uninstall-idocDATA uninstall-ihtmlDATA \
- uninstall-imanDATA
+ uninstall-iman3DATA uninstall-imanDATA
.MAKE: install-am install-data-am install-strip
install install-am install-data install-data-am \
install-data-hook install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-idocDATA \
- install-ihtmlDATA install-imanDATA install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
+ install-ihtmlDATA install-iman3DATA install-imanDATA \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
mostlyclean-libtool pdf pdf-am pdf-local ps ps-am uninstall \
uninstall-am uninstall-idocDATA uninstall-ihtmlDATA \
- uninstall-imanDATA
+ uninstall-iman3DATA uninstall-imanDATA
-all-local: link txt man html-local
+all-local: link man txt html-local
.src.pod:
perl -n -e 'if (/^=include\s+(\S+)/){open F,"$$1.inc" || die $$?;print <F>; close F} else {print}' $< > $@
.pod.1 .pm.1 .pl.1:
$(AM_V_GEN)@POD2MAN@ --release=$(VERSION) --center=rrdtool $< > $@
-.1.txt:
+.pod.3:
+ $(AM_V_GEN)@POD2MAN@ --release=$(VERSION) --center=rrdtool --section=3 $< > $@
+
+.1.txt .3.txt:
$(AM_V_GEN)GROFF_NO_SGR=1 @NROFF@ -man -Tlp $< > $@
-.1.pdf:
+.1.pdf .3.pdf:
$(AM_V_GEN)@TROFF@ -man $< | ps2pdf - $@
.pm.html .pod.html .pl.html:
link: RRDp.pod RRDs.pod
-man: $(MAN)
+man: $(MAN) $(MAN3)
html-local: $(HTML)
pdf-local: $(PDF)
-pod: $(POD)
+pod: $(POD) $(POD3)
install-data-hook:
$(AM_V_GEN)cd $(DESTDIR)$(ihtmldir) && rm -f index.html && $(LN_S) rrdtool.html index.html