Module: xenomai-forge Branch: next Commit: 1568f3275e09e0ce58b72e0ddf279e8bc3f0ca66 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=1568f3275e09e0ce58b72e0ddf279e8bc3f0ca66
Author: Philippe Gerum <r...@xenomai.org> Date: Fri Jun 13 11:52:01 2014 +0200 doc: fold man pages into the asciidoc tree The asciidoc processing recipe only differs marginally for all document types, so there is no point in duplicating the hairy stuff only to separate the source files. Besides, we don't have that many asciidoc source files, and that number may even decrease as we ramp up online contents with the upcoming web site, so it is unlikely that doc/asciidoc will ever get crowded. --- configure | 3 +- configure.ac | 1 - doc/Makefile.am | 4 +- doc/Makefile.in | 4 +- doc/asciidoc/Makefile.am | 60 ++- doc/asciidoc/Makefile.in | 79 +++- doc/asciidoc/asciidoc.rules | 44 -- doc/{man => asciidoc}/clocktest.adoc | 0 doc/{man => asciidoc}/cyclictest.adoc | 0 doc/{man => asciidoc}/dohell.adoc | 0 doc/{man => asciidoc}/latency.adoc | 0 doc/{man => asciidoc}/rtcanconfig.adoc | 0 doc/{man => asciidoc}/rtcanrecv.adoc | 0 doc/{man => asciidoc}/rtcansend.adoc | 0 doc/{man => asciidoc}/switchtest.adoc | 0 doc/{man => asciidoc}/xeno-config.adoc | 0 doc/{man => asciidoc}/xeno-test.adoc | 0 doc/{man => asciidoc}/xeno.adoc | 0 doc/doxygen/Makefile.in | 20 +- doc/install-dist.rules | 22 +- doc/man/Makefile.am | 64 --- doc/man/Makefile.in | 741 -------------------------------- 22 files changed, 138 insertions(+), 904 deletions(-) diff --git a/configure b/configure index ee39888..b1afad3 100755 --- a/configure +++ b/configure @@ -14112,7 +14112,7 @@ ac_config_files="$ac_config_files Makefile config/Makefile scripts/Makefile scri if test \! x$XENO_RUN_DOC = x ; then - ac_config_files="$ac_config_files doc/Makefile doc/man/Makefile doc/doxygen/Makefile doc/doxygen/manual-common.conf doc/doxygen/manual-html.conf doc/doxygen/manual-pdf.conf doc/asciidoc/Makefile" + ac_config_files="$ac_config_files doc/Makefile doc/doxygen/Makefile doc/doxygen/manual-common.conf doc/doxygen/manual-html.conf doc/doxygen/manual-pdf.conf doc/asciidoc/Makefile" fi @@ -15257,7 +15257,6 @@ do "include/vxworks/Makefile") CONFIG_FILES="$CONFIG_FILES include/vxworks/Makefile" ;; "include/psos/Makefile") CONFIG_FILES="$CONFIG_FILES include/psos/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; - "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;; "doc/doxygen/Makefile") CONFIG_FILES="$CONFIG_FILES doc/doxygen/Makefile" ;; "doc/doxygen/manual-common.conf") CONFIG_FILES="$CONFIG_FILES doc/doxygen/manual-common.conf" ;; "doc/doxygen/manual-html.conf") CONFIG_FILES="$CONFIG_FILES doc/doxygen/manual-html.conf" ;; diff --git a/configure.ac b/configure.ac index a6e0cc1..044126b 100644 --- a/configure.ac +++ b/configure.ac @@ -879,7 +879,6 @@ AC_CONFIG_FILES([ \ if test \! x$XENO_RUN_DOC = x ; then AC_CONFIG_FILES([ \ doc/Makefile \ - doc/man/Makefile \ doc/doxygen/Makefile \ doc/doxygen/manual-common.conf \ doc/doxygen/manual-html.conf \ diff --git a/doc/Makefile.am b/doc/Makefile.am index c001728..a330153 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,8 +1,8 @@ -SUBDIRS=doxygen asciidoc man +SUBDIRS=doxygen asciidoc RESYNC_SCRIPT=$(top_srcdir)/scripts/maint/resync-doc -doxygen asciidoc man: FORCE +doxygen asciidoc: FORCE $(MAKE) -C $@ resync prebuild: FORCE diff --git a/doc/Makefile.in b/doc/Makefile.in index f307cea..9e30530 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -338,7 +338,7 @@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = doxygen asciidoc man +SUBDIRS = doxygen asciidoc RESYNC_SCRIPT = $(top_srcdir)/scripts/maint/resync-doc all: all-recursive @@ -651,7 +651,7 @@ uninstall-am: ps ps-am tags tags-am uninstall uninstall-am -doxygen asciidoc man: FORCE +doxygen asciidoc: FORCE $(MAKE) -C $@ resync prebuild: FORCE diff --git a/doc/asciidoc/Makefile.am b/doc/asciidoc/Makefile.am index b25a585..9a801e7 100644 --- a/doc/asciidoc/Makefile.am +++ b/doc/asciidoc/Makefile.am @@ -1,17 +1,56 @@ -HTML_DOCS=README.INSTALL README.APPLICATIONS MIGRATION TROUBLESHOOTING \ - asciidoc-icons asciidoc-icons/callouts asciidoc-css asciidoc-js -PDF_DOCS=README.INSTALL.pdf README.APPLICATIONS.pdf MIGRATION.pdf TROUBLESHOOTING.pdf -EXTRA_DIST=README.INSTALL.adoc README.APPLICATIONS.adoc TROUBLESHOOTING.adoc \ - plaintext.conf plaintext_postproc.awk plaintext.xsl +HTML_DOCS = \ + README.INSTALL \ + README.APPLICATIONS \ + TROUBLESHOOTING \ + MIGRATION \ + asciidoc-icons \ + asciidoc-icons/callouts \ + asciidoc-css \ + asciidoc-js + +PDF_DOCS = \ + README.INSTALL.pdf \ + README.APPLICATIONS.pdf \ + TROUBLESHOOTING.pdf \ + MIGRATION.pdf + +TXT_DOCS = \ + README.INSTALL.txt \ + README.APPLICATIONS.txt \ + TROUBLESHOOTING.txt \ + MIGRATION.txt + +MAN_DOCS = \ + clocktest.1 \ + cyclictest.1 \ + latency.1 \ + rtcanconfig.1 \ + rtcanrecv.1 \ + rtcansend.1 \ + switchtest.1 \ + xeno.1 \ + xeno-config.1 \ + xeno-test.1 \ + dohell.1 + +EXTRA_DIST := \ + README.INSTALL.adoc \ + README.APPLICATIONS.adoc \ + TROUBLESHOOTING.adoc \ + MIGRATION.adoc \ + plaintext.conf \ + plaintext_postproc.awk \ + plaintext.xsl \ + $(MAN_DOCS:%.1:%.adoc) if !XENO_BUILD_DOC HTML_DOCSDIR = $(srcdir)/../prebuilt/html/ PDF_DOCSDIR = $(srcdir)/../prebuilt/pdf/ +MAN_DOCSDIR = $(srcdir)/../prebuilt/man/ else HTML_DOCSDIR = ./ PDF_DOCSDIR = ./ - -TXT_DOCS=README.INSTALL.txt README.APPLICATIONS.txt MIGRATION.txt TROUBLESHOOTING.txt +MAN_DOCSDIR = ./ ASCIIDOC_HTML_OPTS=-a icons -a iconsdir=../asciidoc-icons \ -a linkcss -a stylesdir=../asciidoc-css -a scriptsdir=../asciidoc-js \ @@ -19,16 +58,21 @@ ASCIIDOC_HTML_OPTS=-a icons -a iconsdir=../asciidoc-icons \ ASCIIDOC_PDF_OPTS=-a icons -a toc -a toclevels=3 -a xenover=$(PACKAGE_VERSION) +ASCIIDOC_MAN_OPTS=-a xenover=$(PACKAGE_VERSION) + ASCIIDOC_TXT_OPTS=-a xenover=$(PACKAGE_VERSION) -a encoding=ascii tmpdir=adoc_plaintext -all-local: $(HTML_DOCS) $(PDF_DOCS) $(TXT_DOCS) +all-local: $(HTML_DOCS) $(PDF_DOCS) $(TXT_DOCS) $(MAN_DOCS) %: %.adoc Makefile @$(mkdir_p) $@ $(ASCIIDOC) -n -b xhtml11 $(ASCIIDOC_HTML_OPTS) -o $@/index.html $< +%.1: %.adoc Makefile + $(A2X) -f manpage -D . $(ASCIIDOC_MAN_OPTS) $< + %.pdf: %.adoc Makefile $(A2X) -f pdf -D . $(ASCIIDOC_PDF_OPTS) $< diff --git a/doc/asciidoc/Makefile.in b/doc/asciidoc/Makefile.in index 9d6cc32..5afb8ac 100644 --- a/doc/asciidoc/Makefile.in +++ b/doc/asciidoc/Makefile.in @@ -251,12 +251,12 @@ datarootdir = @datarootdir@ # Parameters : # HTML_DOCS list of html documentation directories # PDF_DOCS list of pdf files -# PS_DOCS list of ps files +# MAN_DOCS list of man files # # HTML_DOCSDIR: where directories listed in HTML_DOCS should be taken from (this # can be from . or from a directory containing pre-built versions) # -# PDF_DOCSDIR & PS_DOCSDIR: same thing for pdf and ps files. +# PDF_DOCSDIR & MAN_DOCSDIR: same thing for pdf and man files. docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ @@ -292,23 +292,63 @@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -HTML_DOCS = README.INSTALL README.APPLICATIONS MIGRATION TROUBLESHOOTING \ - asciidoc-icons asciidoc-icons/callouts asciidoc-css asciidoc-js - -PDF_DOCS = README.INSTALL.pdf README.APPLICATIONS.pdf MIGRATION.pdf TROUBLESHOOTING.pdf -EXTRA_DIST = README.INSTALL.adoc README.APPLICATIONS.adoc TROUBLESHOOTING.adoc \ - plaintext.conf plaintext_postproc.awk plaintext.xsl +HTML_DOCS = \ + README.INSTALL \ + README.APPLICATIONS \ + TROUBLESHOOTING \ + MIGRATION \ + asciidoc-icons \ + asciidoc-icons/callouts \ + asciidoc-css \ + asciidoc-js + +PDF_DOCS = \ + README.INSTALL.pdf \ + README.APPLICATIONS.pdf \ + TROUBLESHOOTING.pdf \ + MIGRATION.pdf + +TXT_DOCS = \ + README.INSTALL.txt \ + README.APPLICATIONS.txt \ + TROUBLESHOOTING.txt \ + MIGRATION.txt + +MAN_DOCS = \ + clocktest.1 \ + cyclictest.1 \ + latency.1 \ + rtcanconfig.1 \ + rtcanrecv.1 \ + rtcansend.1 \ + switchtest.1 \ + xeno.1 \ + xeno-config.1 \ + xeno-test.1 \ + dohell.1 + +EXTRA_DIST := \ + README.INSTALL.adoc \ + README.APPLICATIONS.adoc \ + TROUBLESHOOTING.adoc \ + MIGRATION.adoc \ + plaintext.conf \ + plaintext_postproc.awk \ + plaintext.xsl \ + $(MAN_DOCS:%.1:%.adoc) @XENO_BUILD_DOC_FALSE@HTML_DOCSDIR = $(srcdir)/../prebuilt/html/ @XENO_BUILD_DOC_TRUE@HTML_DOCSDIR = ./ @XENO_BUILD_DOC_FALSE@PDF_DOCSDIR = $(srcdir)/../prebuilt/pdf/ @XENO_BUILD_DOC_TRUE@PDF_DOCSDIR = ./ -@XENO_BUILD_DOC_TRUE@TXT_DOCS = README.INSTALL.txt README.APPLICATIONS.txt MIGRATION.txt TROUBLESHOOTING.txt +@XENO_BUILD_DOC_FALSE@MAN_DOCSDIR = $(srcdir)/../prebuilt/man/ +@XENO_BUILD_DOC_TRUE@MAN_DOCSDIR = ./ @XENO_BUILD_DOC_TRUE@ASCIIDOC_HTML_OPTS = -a icons -a iconsdir=../asciidoc-icons \ @XENO_BUILD_DOC_TRUE@ -a linkcss -a stylesdir=../asciidoc-css -a scriptsdir=../asciidoc-js \ @XENO_BUILD_DOC_TRUE@ -a toc -a toclevels=3 -a max-width=55em -a xenover=$(PACKAGE_VERSION) @XENO_BUILD_DOC_TRUE@ASCIIDOC_PDF_OPTS = -a icons -a toc -a toclevels=3 -a xenover=$(PACKAGE_VERSION) +@XENO_BUILD_DOC_TRUE@ASCIIDOC_MAN_OPTS = -a xenover=$(PACKAGE_VERSION) @XENO_BUILD_DOC_TRUE@ASCIIDOC_TXT_OPTS = -a xenover=$(PACKAGE_VERSION) -a encoding=ascii @XENO_BUILD_DOC_TRUE@tmpdir = adoc_plaintext doc_top_distdir = $(top_builddir)/$(PACKAGE)-$(VERSION) @@ -510,12 +550,15 @@ uninstall-am: uninstall-local ps ps-am tags-am uninstall uninstall-am uninstall-local -@XENO_BUILD_DOC_TRUE@all-local: $(HTML_DOCS) $(PDF_DOCS) $(TXT_DOCS) +@XENO_BUILD_DOC_TRUE@all-local: $(HTML_DOCS) $(PDF_DOCS) $(TXT_DOCS) $(MAN_DOCS) @XENO_BUILD_DOC_TRUE@%: %.adoc Makefile @XENO_BUILD_DOC_TRUE@ @$(mkdir_p) $@ @XENO_BUILD_DOC_TRUE@ $(ASCIIDOC) -n -b xhtml11 $(ASCIIDOC_HTML_OPTS) -o $@/index.html $< +@XENO_BUILD_DOC_TRUE@%.1: %.adoc Makefile +@XENO_BUILD_DOC_TRUE@ $(A2X) -f manpage -D . $(ASCIIDOC_MAN_OPTS) $< + @XENO_BUILD_DOC_TRUE@%.pdf: %.adoc Makefile @XENO_BUILD_DOC_TRUE@ $(A2X) -f pdf -D . $(ASCIIDOC_PDF_OPTS) $< @@ -572,14 +615,14 @@ install-pdfdocs: $(PDF_DOCS:%=$(PDF_DOCSDIR)%) $(INSTALL_DATA) $$f $$dest; \ done -install-psdocs: $(PS_DOCS:%=$(PS_DOCSDIR)%) - docs="$^"; dest=$(DESTDIR)$(docdir)/ps; \ +install-mandocs: $(MAN_DOCS:%=$(MAN_DOCSDIR)%) + docs="$^"; dest=$(DESTDIR)$(docdir)/man; \ $(mkinstalldirs) $$dest && \ for f in $$docs; do \ $(INSTALL_DATA) $$f $$dest; \ done -install-docs-local: install-htmldocs install-psdocs install-pdfdocs +install-docs-local: install-htmldocs install-pdfdocs install-mandocs dist-htmldocs: $(HTML_DOCS:%=$(HTML_DOCSDIR)%) docs="$(HTML_DOCS)"; abs_builddir=$$PWD; \ @@ -602,21 +645,21 @@ dist-pdfdocs: $(PDF_DOCS:%=$(PDF_DOCSDIR)%) $(INSTALL_DATA) $$f $$dest; \ done -dist-psdocs: $(PS_DOCS:%=$(PS_DOCSDIR)%) - docs="$^"; dest=$(GEN_DOC_DIST_ROOT)/ps; \ +dist-mandocs: $(MAN_DOCS:%=$(MAN_DOCSDIR)%) + docs="$^"; dest=$(GEN_DOC_DIST_ROOT)/man; \ $(mkinstalldirs) $$dest && \ for f in $$docs; do \ $(INSTALL_DATA) $$f $$dest; \ done -dist-docs-hook: all-local dist-htmldocs dist-pdfdocs dist-psdocs +dist-docs-hook: all-local dist-htmldocs dist-mandocs dist-pdfdocs # To make distcheck happy. uninstall-docs: - if test -n "$(HTML_DOCS)" -o -n "$(PDF_DOCS)" -o -n "$(PS_DOCS)"; then \ + if test -n "$(HTML_DOCS)" -o -n "$(PDF_DOCS)" -o -n "$(MAN_DOCS)"; then \ targets="$(HTML_DOCS:%=$(DESTDIR)$(docdir)/html/%) \ $(PDF_DOCS:%=$(DESTDIR)$(docdir)/pdf/%) \ - $(PS_DOCS:%=$(DESTDIR)$(docdir)/ps/%)"; \ + $(MAN_DOCS:%=$(DESTDIR)$(docdir)/man/%)"; \ for t in $$targets; do \ if test -d $$t; then $(RM) $$t/*; $(RM) -r $$t; \ else $(RM) $$t; fi; \ diff --git a/doc/asciidoc/asciidoc.rules b/doc/asciidoc/asciidoc.rules deleted file mode 100644 index b223e11..0000000 --- a/doc/asciidoc/asciidoc.rules +++ /dev/null @@ -1,44 +0,0 @@ -if !XENO_BUILD_DOC -$(man1_MANS): %.1: $(MAN_DOCSDIR)/%.1 - @cp $< $@ - -CLEANFILES = $(man1_MANS) -else - -ASCIIDOC_HTML_OPTS=-a icons -a iconsdir=../asciidoc-icons \ - -a linkcss -a stylesdir=../asciidoc-css -a scriptsdir=../asciidoc-js \ - -a toc -a toclevels=3 -a max-width=55em -a xenover=$(PACKAGE_VERSION) - -ASCIIDOC_PDF_OPTS=-a icons -a toc -a toclevels=3 -a xenover=$(PACKAGE_VERSION) - -ASCIIDOC_MAN_OPTS=-a xenover=$(PACKAGE_VERSION) - -ASCIIDOC_TXT_OPTS=-a xenover=$(PACKAGE_VERSION) -a encoding=ascii - -tmpdir=adoc_plaintext - -%: %.adoc Makefile - @$(mkdir_p) $@ - $(ASCIIDOC) -n -b xhtml11 $(ASCIIDOC_HTML_OPTS) -o $@/index.html $< - -%.1: %.adoc Makefile - $(A2X) -f manpage -D . $(ASCIIDOC_MAN_OPTS) $< - -%.pdf: %.adoc Makefile - $(A2X) -f pdf -D . $(ASCIIDOC_PDF_OPTS) $< - -$(tmpdir)/%.txt: %.adoc Makefile $(top_srcdir)/doc/asciidoc/plaintext.conf $(top_srcdir)/doc/asciidoc/plaintext.xsl - @$(mkdir_p) $(tmpdir) - $(ASCIIDOC) --backend docbook -f $(top_srcdir)/doc/asciidoc/plaintext.conf \ - --doctype book $(ASCIIDOC_TXT_OPTS) \ - --out-file $(tmpdir)/$*.xml $< - xsltproc --stringparam toc.section.depth 4 --nonet \ - --output $(tmpdir)/$*.html $(top_srcdir)/doc/asciidoc/plaintext.xsl \ - $(tmpdir)/$*.xml - w3m -cols 80 -dump -T text/html -no-graph $(tmpdir)/$*.html > $@ - -%.txt: $(tmpdir)/%.txt Makefile $(top_srcdir)/doc/asciidoc/plaintext_postproc.awk - awk -f $(top_srcdir)/doc/asciidoc/plaintext_postproc.awk $(tmpdir)/$*.txt > $@ -endif - -include $(top_srcdir)/doc/install-dist.rules diff --git a/doc/man/clocktest.adoc b/doc/asciidoc/clocktest.adoc similarity index 100% rename from doc/man/clocktest.adoc rename to doc/asciidoc/clocktest.adoc diff --git a/doc/man/cyclictest.adoc b/doc/asciidoc/cyclictest.adoc similarity index 100% rename from doc/man/cyclictest.adoc rename to doc/asciidoc/cyclictest.adoc diff --git a/doc/man/dohell.adoc b/doc/asciidoc/dohell.adoc similarity index 100% rename from doc/man/dohell.adoc rename to doc/asciidoc/dohell.adoc diff --git a/doc/man/latency.adoc b/doc/asciidoc/latency.adoc similarity index 100% rename from doc/man/latency.adoc rename to doc/asciidoc/latency.adoc diff --git a/doc/man/rtcanconfig.adoc b/doc/asciidoc/rtcanconfig.adoc similarity index 100% rename from doc/man/rtcanconfig.adoc rename to doc/asciidoc/rtcanconfig.adoc diff --git a/doc/man/rtcanrecv.adoc b/doc/asciidoc/rtcanrecv.adoc similarity index 100% rename from doc/man/rtcanrecv.adoc rename to doc/asciidoc/rtcanrecv.adoc diff --git a/doc/man/rtcansend.adoc b/doc/asciidoc/rtcansend.adoc similarity index 100% rename from doc/man/rtcansend.adoc rename to doc/asciidoc/rtcansend.adoc diff --git a/doc/man/switchtest.adoc b/doc/asciidoc/switchtest.adoc similarity index 100% rename from doc/man/switchtest.adoc rename to doc/asciidoc/switchtest.adoc diff --git a/doc/man/xeno-config.adoc b/doc/asciidoc/xeno-config.adoc similarity index 100% rename from doc/man/xeno-config.adoc rename to doc/asciidoc/xeno-config.adoc diff --git a/doc/man/xeno-test.adoc b/doc/asciidoc/xeno-test.adoc similarity index 100% rename from doc/man/xeno-test.adoc rename to doc/asciidoc/xeno-test.adoc diff --git a/doc/man/xeno.adoc b/doc/asciidoc/xeno.adoc similarity index 100% rename from doc/man/xeno.adoc rename to doc/asciidoc/xeno.adoc diff --git a/doc/doxygen/Makefile.in b/doc/doxygen/Makefile.in index f765568..44a1300 100644 --- a/doc/doxygen/Makefile.in +++ b/doc/doxygen/Makefile.in @@ -254,12 +254,12 @@ datarootdir = @datarootdir@ # Parameters : # HTML_DOCS list of html documentation directories # PDF_DOCS list of pdf files -# PS_DOCS list of ps files +# MAN_DOCS list of man files # # HTML_DOCSDIR: where directories listed in HTML_DOCS should be taken from (this # can be from . or from a directory containing pre-built versions) # -# PDF_DOCSDIR & PS_DOCSDIR: same thing for pdf and ps files. +# PDF_DOCSDIR & MAN_DOCSDIR: same thing for pdf and man files. docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ @@ -558,14 +558,14 @@ install-pdfdocs: $(PDF_DOCS:%=$(PDF_DOCSDIR)%) $(INSTALL_DATA) $$f $$dest; \ done -install-psdocs: $(PS_DOCS:%=$(PS_DOCSDIR)%) - docs="$^"; dest=$(DESTDIR)$(docdir)/ps; \ +install-mandocs: $(MAN_DOCS:%=$(MAN_DOCSDIR)%) + docs="$^"; dest=$(DESTDIR)$(docdir)/man; \ $(mkinstalldirs) $$dest && \ for f in $$docs; do \ $(INSTALL_DATA) $$f $$dest; \ done -install-docs-local: install-htmldocs install-psdocs install-pdfdocs +install-docs-local: install-htmldocs install-pdfdocs install-mandocs dist-htmldocs: $(HTML_DOCS:%=$(HTML_DOCSDIR)%) docs="$(HTML_DOCS)"; abs_builddir=$$PWD; \ @@ -588,21 +588,21 @@ dist-pdfdocs: $(PDF_DOCS:%=$(PDF_DOCSDIR)%) $(INSTALL_DATA) $$f $$dest; \ done -dist-psdocs: $(PS_DOCS:%=$(PS_DOCSDIR)%) - docs="$^"; dest=$(GEN_DOC_DIST_ROOT)/ps; \ +dist-mandocs: $(MAN_DOCS:%=$(MAN_DOCSDIR)%) + docs="$^"; dest=$(GEN_DOC_DIST_ROOT)/man; \ $(mkinstalldirs) $$dest && \ for f in $$docs; do \ $(INSTALL_DATA) $$f $$dest; \ done -dist-docs-hook: all-local dist-htmldocs dist-pdfdocs dist-psdocs +dist-docs-hook: all-local dist-htmldocs dist-mandocs dist-pdfdocs # To make distcheck happy. uninstall-docs: - if test -n "$(HTML_DOCS)" -o -n "$(PDF_DOCS)" -o -n "$(PS_DOCS)"; then \ + if test -n "$(HTML_DOCS)" -o -n "$(PDF_DOCS)" -o -n "$(MAN_DOCS)"; then \ targets="$(HTML_DOCS:%=$(DESTDIR)$(docdir)/html/%) \ $(PDF_DOCS:%=$(DESTDIR)$(docdir)/pdf/%) \ - $(PS_DOCS:%=$(DESTDIR)$(docdir)/ps/%)"; \ + $(MAN_DOCS:%=$(DESTDIR)$(docdir)/man/%)"; \ for t in $$targets; do \ if test -d $$t; then $(RM) $$t/*; $(RM) -r $$t; \ else $(RM) $$t; fi; \ diff --git a/doc/install-dist.rules b/doc/install-dist.rules index 3bfed70..b41cea9 100644 --- a/doc/install-dist.rules +++ b/doc/install-dist.rules @@ -4,12 +4,12 @@ # Parameters : # HTML_DOCS list of html documentation directories # PDF_DOCS list of pdf files -# PS_DOCS list of ps files +# MAN_DOCS list of man files # # HTML_DOCSDIR: where directories listed in HTML_DOCS should be taken from (this # can be from . or from a directory containing pre-built versions) # -# PDF_DOCSDIR & PS_DOCSDIR: same thing for pdf and ps files. +# PDF_DOCSDIR & MAN_DOCSDIR: same thing for pdf and man files. docdir=@docdir@ doc_top_distdir=$(top_builddir)/$(PACKAGE)-$(VERSION) @@ -37,14 +37,14 @@ install-pdfdocs: $(PDF_DOCS:%=$(PDF_DOCSDIR)%) $(INSTALL_DATA) $$f $$dest; \ done -install-psdocs: $(PS_DOCS:%=$(PS_DOCSDIR)%) - docs="$^"; dest=$(DESTDIR)$(docdir)/ps; \ +install-mandocs: $(MAN_DOCS:%=$(MAN_DOCSDIR)%) + docs="$^"; dest=$(DESTDIR)$(docdir)/man; \ $(mkinstalldirs) $$dest && \ for f in $$docs; do \ $(INSTALL_DATA) $$f $$dest; \ done -install-docs-local: install-htmldocs install-psdocs install-pdfdocs +install-docs-local: install-htmldocs install-pdfdocs install-mandocs dist-htmldocs: $(HTML_DOCS:%=$(HTML_DOCSDIR)%) docs="$(HTML_DOCS)"; abs_builddir=$$PWD; \ @@ -67,23 +67,21 @@ dist-pdfdocs: $(PDF_DOCS:%=$(PDF_DOCSDIR)%) $(INSTALL_DATA) $$f $$dest; \ done -dist-psdocs: $(PS_DOCS:%=$(PS_DOCSDIR)%) - docs="$^"; dest=$(GEN_DOC_DIST_ROOT)/ps; \ +dist-mandocs: $(MAN_DOCS:%=$(MAN_DOCSDIR)%) + docs="$^"; dest=$(GEN_DOC_DIST_ROOT)/man; \ $(mkinstalldirs) $$dest && \ for f in $$docs; do \ $(INSTALL_DATA) $$f $$dest; \ done -dist-docs-hook: all-local dist-htmldocs dist-pdfdocs dist-psdocs - - +dist-docs-hook: all-local dist-htmldocs dist-mandocs dist-pdfdocs # To make distcheck happy. uninstall-docs: - if test -n "$(HTML_DOCS)" -o -n "$(PDF_DOCS)" -o -n "$(PS_DOCS)"; then \ + if test -n "$(HTML_DOCS)" -o -n "$(PDF_DOCS)" -o -n "$(MAN_DOCS)"; then \ targets="$(HTML_DOCS:%=$(DESTDIR)$(docdir)/html/%) \ $(PDF_DOCS:%=$(DESTDIR)$(docdir)/pdf/%) \ - $(PS_DOCS:%=$(DESTDIR)$(docdir)/ps/%)"; \ + $(MAN_DOCS:%=$(DESTDIR)$(docdir)/man/%)"; \ for t in $$targets; do \ if test -d $$t; then $(RM) $$t/*; $(RM) -r $$t; \ else $(RM) $$t; fi; \ diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am deleted file mode 100644 index e9a1c16..0000000 --- a/doc/man/Makefile.am +++ /dev/null @@ -1,64 +0,0 @@ -HTML_DOCS = \ - clocktest \ - cyclictest \ - latency \ - rtcanconfig \ - rtcanrecv \ - rtcansend \ - switchtest \ - xeno \ - xeno-config \ - xeno-test \ - dohell - -EXTRA_DIST = \ - clocktest.adoc \ - cyclictest.adoc \ - latency.adoc \ - rtcanconfig.adoc \ - rtcanrecv.adoc \ - rtcansend.adoc \ - switchtest.adoc \ - xeno.adoc \ - xeno-config.adoc \ - xeno-test.adoc \ - dohell.adoc - -man1_MANS = \ - clocktest.1 \ - cyclictest.1 \ - latency.1 \ - rtcanconfig.1 \ - rtcanrecv.1 \ - rtcansend.1 \ - switchtest.1 \ - xeno.1 \ - xeno-config.1 \ - xeno-test.1 \ - dohell.1 - -if !XENO_BUILD_DOC -HTML_DOCSDIR = $(srcdir)/../prebuilt/html/ -PDF_DOCSDIR = $(srcdir)/../prebuilt/pdf/ -MAN_DOCSDIR = $(srcdir)/../prebuilt/man/ -else -HTML_DOCSDIR = ./ -PDF_DOCSDIR = ./ -MAN_DOCSDIR = ./ - -all-local: $(HTML_DOCS) - -endif - -include $(top_srcdir)/doc/asciidoc/asciidoc.rules - -install-data-local: install-docs-local - -dist-hook: dist-docs-hook - -uninstall-local: uninstall-docs - -clean-local: - $(RM) -R $(HTML_DOCS) $(PDF_DOCS) $(TXT_DOCS) $(tmpdir) - -distclean-local: clean-local diff --git a/doc/man/Makefile.in b/doc/man/Makefile.in deleted file mode 100644 index e523985..0000000 --- a/doc/man/Makefile.in +++ /dev/null @@ -1,741 +0,0 @@ -# Makefile.in generated by automake 1.13.4 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2013 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -VPATH = @srcdir@ -am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -DIST_COMMON = $(top_srcdir)/doc/asciidoc/asciidoc.rules \ - $(top_srcdir)/doc/install-dist.rules $(srcdir)/Makefile.in \ - $(srcdir)/Makefile.am -subdir = doc/man -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/config/ac_prog_cc_for_build.m4 \ - $(top_srcdir)/config/libtool.m4 \ - $(top_srcdir)/config/ltoptions.m4 \ - $(top_srcdir)/config/ltsugar.m4 \ - $(top_srcdir)/config/ltversion.m4 \ - $(top_srcdir)/config/lt~obsolete.m4 \ - $(top_srcdir)/config/version $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/include/xeno_config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -SOURCES = -DIST_SOURCES = -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -man1dir = $(mandir)/man1 -am__installdirs = "$(DESTDIR)$(man1dir)" -NROFF = nroff -MANS = $(man1_MANS) -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -A2X = @A2X@ -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -ASCIIDOC = @ASCIIDOC@ -ASCIIDODC = @ASCIIDODC@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BUILD_EXEEXT = @BUILD_EXEEXT@ -BUILD_OBJEXT = @BUILD_OBJEXT@ -CC = @CC@ -CCAS = @CCAS@ -CCASDEPMODE = @CCASDEPMODE@ -CCASFLAGS = @CCASFLAGS@ -CCDEPMODE = @CCDEPMODE@ -CC_FOR_BUILD = @CC_FOR_BUILD@ -CFLAGS = @CFLAGS@ -CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ -CHECKFLAGS = @CHECKFLAGS@ -CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ -CPP_FOR_BUILD = @CPP_FOR_BUILD@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOXYGEN = @DOXYGEN@ -DOXYGEN_HAVE_DOT = @DOXYGEN_HAVE_DOT@ -DOXYGEN_SHOW_INCLUDE_FILES = @DOXYGEN_SHOW_INCLUDE_FILES@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FUSE_CFLAGS = @FUSE_CFLAGS@ -FUSE_LIBS = @FUSE_LIBS@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LATEX_BATCHMODE = @LATEX_BATCHMODE@ -LATEX_MODE = @LATEX_MODE@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LD_FILE_OPTION = @LD_FILE_OPTION@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -W3M = @W3M@ -XENO_BUILD_STRING = @XENO_BUILD_STRING@ -XENO_COBALT_CFLAGS = @XENO_COBALT_CFLAGS@ -XENO_DEMO_DIR = @XENO_DEMO_DIR@ -XENO_FUSE_CFLAGS = @XENO_FUSE_CFLAGS@ -XENO_HOST_STRING = @XENO_HOST_STRING@ -XENO_LIB_LDFLAGS = @XENO_LIB_LDFLAGS@ -XENO_POSIX_WRAPPERS = @XENO_POSIX_WRAPPERS@ -XENO_TARGET_ARCH = @XENO_TARGET_ARCH@ -XENO_TARGET_CORE = @XENO_TARGET_CORE@ -XENO_TEST_DIR = @XENO_TEST_DIR@ -XENO_USER_APP_CFLAGS = @XENO_USER_APP_CFLAGS@ -XENO_USER_APP_LDFLAGS = @XENO_USER_APP_LDFLAGS@ -XENO_USER_CFLAGS = @XENO_USER_CFLAGS@ -XENO_USER_LDADD = @XENO_USER_LDADD@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CC_FOR_BUILD = @ac_ct_CC_FOR_BUILD@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ - -# -*- makefile -*- -# Generic rules for installation and distribution of documentation. -# -# Parameters : -# HTML_DOCS list of html documentation directories -# PDF_DOCS list of pdf files -# PS_DOCS list of ps files -# -# HTML_DOCSDIR: where directories listed in HTML_DOCS should be taken from (this -# can be from . or from a directory containing pre-built versions) -# -# PDF_DOCSDIR & PS_DOCSDIR: same thing for pdf and ps files. -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -HTML_DOCS = \ - clocktest \ - cyclictest \ - latency \ - rtcanconfig \ - rtcanrecv \ - rtcansend \ - switchtest \ - xeno \ - xeno-config \ - xeno-test \ - dohell - -EXTRA_DIST = \ - clocktest.adoc \ - cyclictest.adoc \ - latency.adoc \ - rtcanconfig.adoc \ - rtcanrecv.adoc \ - rtcansend.adoc \ - switchtest.adoc \ - xeno.adoc \ - xeno-config.adoc \ - xeno-test.adoc \ - dohell.adoc - -man1_MANS = \ - clocktest.1 \ - cyclictest.1 \ - latency.1 \ - rtcanconfig.1 \ - rtcanrecv.1 \ - rtcansend.1 \ - switchtest.1 \ - xeno.1 \ - xeno-config.1 \ - xeno-test.1 \ - dohell.1 - -@XENO_BUILD_DOC_FALSE@HTML_DOCSDIR = $(srcdir)/../prebuilt/html/ -@XENO_BUILD_DOC_TRUE@HTML_DOCSDIR = ./ -@XENO_BUILD_DOC_FALSE@PDF_DOCSDIR = $(srcdir)/../prebuilt/pdf/ -@XENO_BUILD_DOC_TRUE@PDF_DOCSDIR = ./ -@XENO_BUILD_DOC_FALSE@MAN_DOCSDIR = $(srcdir)/../prebuilt/man/ -@XENO_BUILD_DOC_TRUE@MAN_DOCSDIR = ./ -@XENO_BUILD_DOC_FALSE@CLEANFILES = $(man1_MANS) -@XENO_BUILD_DOC_TRUE@ASCIIDOC_HTML_OPTS = -a icons -a iconsdir=../asciidoc-icons \ -@XENO_BUILD_DOC_TRUE@ -a linkcss -a stylesdir=../asciidoc-css -a scriptsdir=../asciidoc-js \ -@XENO_BUILD_DOC_TRUE@ -a toc -a toclevels=3 -a max-width=55em -a xenover=$(PACKAGE_VERSION) - -@XENO_BUILD_DOC_TRUE@ASCIIDOC_PDF_OPTS = -a icons -a toc -a toclevels=3 -a xenover=$(PACKAGE_VERSION) -@XENO_BUILD_DOC_TRUE@ASCIIDOC_MAN_OPTS = -a xenover=$(PACKAGE_VERSION) -@XENO_BUILD_DOC_TRUE@ASCIIDOC_TXT_OPTS = -a xenover=$(PACKAGE_VERSION) -a encoding=ascii -@XENO_BUILD_DOC_TRUE@tmpdir = adoc_plaintext -doc_top_distdir = $(top_builddir)/$(PACKAGE)-$(VERSION) -GEN_DOC_DIST_ROOT = $(doc_top_distdir)/doc/prebuilt -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/doc/asciidoc/asciidoc.rules $(top_srcdir)/doc/install-dist.rules $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/man/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign doc/man/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; -$(top_srcdir)/doc/asciidoc/asciidoc.rules $(top_srcdir)/doc/install-dist.rules: - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-man1: $(man1_MANS) - @$(NORMAL_INSTALL) - @list1='$(man1_MANS)'; \ - list2=''; \ - test -n "$(man1dir)" \ - && test -n "`echo $$list1$$list2`" \ - || exit 0; \ - echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ - { for i in $$list1; do echo "$$i"; done; \ - if test -n "$$list2"; then \ - for i in $$list2; do echo "$$i"; done \ - | sed -n '/\.1[a-z]*$$/p'; \ - fi; \ - } | while read p; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; echo "$$p"; \ - done | \ - sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ - sed 'N;N;s,\n, ,g' | { \ - list=; while read file base inst; do \ - if test "$$base" = "$$inst"; then list="$$list $$file"; else \ - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ - fi; \ - done; \ - for i in $$list; do echo "$$i"; done | $(am__base_list) | \ - while read files; do \ - test -z "$$files" || { \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ - done; } - -uninstall-man1: - @$(NORMAL_UNINSTALL) - @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \ - files=`{ for i in $$list; do echo "$$i"; done; \ - } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ - dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) -tags TAGS: - -ctags CTAGS: - -cscope cscopelist: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$(top_distdir)" distdir="$(distdir)" \ - dist-hook -check-am: all-am -check: check-am -@XENO_BUILD_DOC_FALSE@all-local: -all-am: Makefile $(MANS) all-local -installdirs: - for dir in "$(DESTDIR)$(man1dir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-local mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-local - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-data-local install-man - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: install-man1 - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-local uninstall-man - -uninstall-man: uninstall-man1 - -.MAKE: install-am install-strip - -.PHONY: all all-am all-local check check-am clean clean-generic \ - clean-libtool clean-local cscopelist-am ctags-am dist-hook \ - distclean distclean-generic distclean-libtool distclean-local \ - distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-data-local \ - install-dvi install-dvi-am install-exec install-exec-am \ - install-html install-html-am install-info install-info-am \ - install-man install-man1 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 \ - ps ps-am tags-am uninstall uninstall-am uninstall-local \ - uninstall-man uninstall-man1 - - -@XENO_BUILD_DOC_TRUE@all-local: $(HTML_DOCS) -@XENO_BUILD_DOC_FALSE@$(man1_MANS): %.1: $(MAN_DOCSDIR)/%.1 -@XENO_BUILD_DOC_FALSE@ @cp $< $@ - -@XENO_BUILD_DOC_TRUE@%: %.adoc Makefile -@XENO_BUILD_DOC_TRUE@ @$(mkdir_p) $@ -@XENO_BUILD_DOC_TRUE@ $(ASCIIDOC) -n -b xhtml11 $(ASCIIDOC_HTML_OPTS) -o $@/index.html $< - -@XENO_BUILD_DOC_TRUE@%.1: %.adoc Makefile -@XENO_BUILD_DOC_TRUE@ $(A2X) -f manpage -D . $(ASCIIDOC_MAN_OPTS) $< - -@XENO_BUILD_DOC_TRUE@%.pdf: %.adoc Makefile -@XENO_BUILD_DOC_TRUE@ $(A2X) -f pdf -D . $(ASCIIDOC_PDF_OPTS) $< - -@XENO_BUILD_DOC_TRUE@$(tmpdir)/%.txt: %.adoc Makefile $(top_srcdir)/doc/asciidoc/plaintext.conf $(top_srcdir)/doc/asciidoc/plaintext.xsl -@XENO_BUILD_DOC_TRUE@ @$(mkdir_p) $(tmpdir) -@XENO_BUILD_DOC_TRUE@ $(ASCIIDOC) --backend docbook -f $(top_srcdir)/doc/asciidoc/plaintext.conf \ -@XENO_BUILD_DOC_TRUE@ --doctype book $(ASCIIDOC_TXT_OPTS) \ -@XENO_BUILD_DOC_TRUE@ --out-file $(tmpdir)/$*.xml $< -@XENO_BUILD_DOC_TRUE@ xsltproc --stringparam toc.section.depth 4 --nonet \ -@XENO_BUILD_DOC_TRUE@ --output $(tmpdir)/$*.html $(top_srcdir)/doc/asciidoc/plaintext.xsl \ -@XENO_BUILD_DOC_TRUE@ $(tmpdir)/$*.xml -@XENO_BUILD_DOC_TRUE@ w3m -cols 80 -dump -T text/html -no-graph $(tmpdir)/$*.html > $@ - -@XENO_BUILD_DOC_TRUE@%.txt: $(tmpdir)/%.txt Makefile $(top_srcdir)/doc/asciidoc/plaintext_postproc.awk -@XENO_BUILD_DOC_TRUE@ awk -f $(top_srcdir)/doc/asciidoc/plaintext_postproc.awk $(tmpdir)/$*.txt > $@ - -install-htmldocs: $(HTML_DOCS:%=$(HTML_DOCSDIR)%) - docs="$(HTML_DOCS)"; abs_builddir=$$PWD; \ - for dir in $$docs; do \ - dest=$(DESTDIR)$(docdir)/html/$$dir; \ - $(mkinstalldirs) $$dest; \ - abs_dest=`cd $$dest && pwd` ; \ - cd $(HTML_DOCSDIR)$$dir || exit 1; \ - for f in * ; do \ - case $$f in \ - *~|CVS|.svn|[mM]akefile*|GNUmakefile*);; \ - *) $(INSTALL_DATA) $$f $$abs_dest/$$f;; \ - esac; \ - done; cd $$abs_builddir; \ - done - -install-pdfdocs: $(PDF_DOCS:%=$(PDF_DOCSDIR)%) - docs="$^"; dest=$(DESTDIR)$(docdir)/pdf; \ - $(mkinstalldirs) $$dest && \ - for f in $$docs; do \ - $(INSTALL_DATA) $$f $$dest; \ - done - -install-psdocs: $(PS_DOCS:%=$(PS_DOCSDIR)%) - docs="$^"; dest=$(DESTDIR)$(docdir)/ps; \ - $(mkinstalldirs) $$dest && \ - for f in $$docs; do \ - $(INSTALL_DATA) $$f $$dest; \ - done - -install-docs-local: install-htmldocs install-psdocs install-pdfdocs - -dist-htmldocs: $(HTML_DOCS:%=$(HTML_DOCSDIR)%) - docs="$(HTML_DOCS)"; abs_builddir=$$PWD; \ - for dir in $$docs; do \ - dest=$(GEN_DOC_DIST_ROOT)/html/$$dir; \ - $(mkinstalldirs) $$dest && abs_dest=`cd $$dest && pwd` && \ - cd $(HTML_DOCSDIR)$$dir || exit 1; \ - for f in * ; do \ - case $$f in \ - *~|CVS|.svn|[mM]akefile*|GNUmakefile*);; \ - *) $(INSTALL_DATA) $$f $$abs_dest/$$f;; \ - esac; \ - done; cd $$abs_builddir; \ - done - -dist-pdfdocs: $(PDF_DOCS:%=$(PDF_DOCSDIR)%) - docs="$^"; dest=$(GEN_DOC_DIST_ROOT)/pdf; \ - $(mkinstalldirs) $$dest && \ - for f in $$docs; do \ - $(INSTALL_DATA) $$f $$dest; \ - done - -dist-psdocs: $(PS_DOCS:%=$(PS_DOCSDIR)%) - docs="$^"; dest=$(GEN_DOC_DIST_ROOT)/ps; \ - $(mkinstalldirs) $$dest && \ - for f in $$docs; do \ - $(INSTALL_DATA) $$f $$dest; \ - done - -dist-docs-hook: all-local dist-htmldocs dist-pdfdocs dist-psdocs - -# To make distcheck happy. -uninstall-docs: - if test -n "$(HTML_DOCS)" -o -n "$(PDF_DOCS)" -o -n "$(PS_DOCS)"; then \ - targets="$(HTML_DOCS:%=$(DESTDIR)$(docdir)/html/%) \ - $(PDF_DOCS:%=$(DESTDIR)$(docdir)/pdf/%) \ - $(PS_DOCS:%=$(DESTDIR)$(docdir)/ps/%)"; \ - for t in $$targets; do \ - if test -d $$t; then $(RM) $$t/*; $(RM) -r $$t; \ - else $(RM) $$t; fi; \ - done; \ - fi - -install-data-local: install-docs-local - -dist-hook: dist-docs-hook - -uninstall-local: uninstall-docs - -clean-local: - $(RM) -R $(HTML_DOCS) $(PDF_DOCS) $(TXT_DOCS) $(tmpdir) - -distclean-local: clean-local - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git