diff --git a/.gitignore b/.gitignore index fb66633..a9a260a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,48 +1,49 @@ Makefile.in Makefile aclocal.m4 config.guess config.log config.status config.sub configure depcomp install-sh missing booth.tar.bz2 *.rpm Doxyfile src/.deps src/Makefile.in src/b_config.h.in src/b_config.h src/booth_config.h src/boothd src/stamp-h1 src/stamp-h2 # cscope files cscope.* ncscope.* # ctags files tags autom4te.cache *.o test-driver tools/.deps/ tools/booth_resource_monitord # vim temp files .*.sw? *~ *.pyc -docs/boothd.8* +/docs/boothd.8* +!/docs/boothd.8.txt doxygen /conf/booth*.service diff --git a/docs/Makefile.am b/docs/Makefile.am index 72a53a3..8fbc76f 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,56 +1,56 @@ # # docs: booth manual pages # # Copyright (C) 2014 Dejan Muhamedagic # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # MAINTAINERCLEANFILES = Makefile.in asciiman = boothd.8.txt booth-keygen.8.txt geostore.8.txt doc_DATA = $(generated_docs) generated_docs = generated_mans = HTML_GENERATOR = MANPAGE_GENERATOR = if BUILD_ASCIIDOC_HTML_MAN generated_docs += $(ascii:%.txt=%.html) $(asciiman:%.txt=%.html) endif if BUILD_ASCIIDOC generated_mans += $(asciiman:%.8.txt=%.8) $(generated_mans): $(asciiman) man8_MANS = $(generated_mans) endif if IS_ASCIIDOC -HTML_GENERATOR += $(ASCIIDOC)--unsafe --backend=xhtml11 +HTML_GENERATOR += $(ASCIIDOC) --unsafe --backend=xhtml11 else -HTML_GENERATOR += $(ASCIIDOCTOR)-b xhtml5 +HTML_GENERATOR += $(ASCIIDOCTOR) -b xhtml5 endif if IS_A2X MANPAGE_GENERATOR += $(A2X) -f manpage else MANPAGE_GENERATOR += $(ASCIIDOCTOR) -b manpage endif %.html: %.txt $(HTML_GENERATOR) $< %.8: %.8.txt $(MANPAGE_GENERATOR) $< clean-local: -rm -rf $(generated_docs) $(generated_mans)