AUTOHEADER ?= autoheader
AUTOCONF ?= autoconf
+ASCIIDOC ?= asciidoc
+XMLTO ?= xmlto
+DOCBOOK2PDF ?= docbook2pdf
all: $(PROGS)
all-debug: $(PROGS)
esac; done | sed 's/\[\[\(.*\)\]\]/\1/' > $@
README.html: README
- asciidoc -b xhtml11 -d article -a readme $<
+ $(ASCIIDOC) -b xhtml11 -d article -a readme $<
%.pdf : %.xml
- docbook2pdf $<
+ $(DOCBOOK2PDF) $<
%.1.html : %.1.txt
- asciidoc -b xhtml11 -d manpage $<
+ $(ASCIIDOC) -b xhtml11 -d manpage $<
%.1.xml : %.1.txt
- asciidoc -b docbook -d manpage -aversion=$(VERSION) $<
+ $(ASCIIDOC) -b docbook -d manpage -aversion=$(VERSION) $<
%.1 : %.1.xml
- xmlto -m manpage.xsl man $<
+ $(XMLTO) -m manpage.xsl man $<
%.5.html : %.5.txt
- asciidoc -b xhtml11 -d manpage $<
+ $(ASCIIDOC) -b xhtml11 -d manpage $<
%.5.xml : %.5.txt
- asciidoc -b docbook -d manpage -aversion=$(VERSION) $<
+ $(ASCIIDOC) -b docbook -d manpage -aversion=$(VERSION) $<
%.5 : %.5.xml
- xmlto -m manpage.xsl man $<
+ $(XMLTO) -m manpage.xsl man $<
%.html : %.txt
- asciidoc -b xhtml11 -d article -n $<
+ $(ASCIIDOC) -b xhtml11 -d article -n $<
%.xml : %.txt
- asciidoc -b docbook -d article $<
+ $(ASCIIDOC) -b docbook -d article $<
%.html-chunked : %.xml
- xmlto html -o $@ $<
+ $(XMLTO) html -o $@ $<
part of the commit detail information you display on the lower pane
(log/diff view).
- - Use autoconf to check for the AsciiDoc and XmlTo document tools.
-
- Use non-blocking I/O + select() for incremental loading of view
input. (debian bug #427093)
AC_PROG_CC
AC_CHECK_PROGS(GIT_CONFIG, [git-config git-repo-config])
AC_DEFINE_UNQUOTED(GIT_CONFIG,"$GIT_CONFIG",[git config program])
+AC_CHECK_PROGS(ASCIIDOC, [asciidoc false])
+AC_CHECK_PROGS(XMLTO, [xmlto false])
+AC_CHECK_PROGS(DOCBOOK2PDF, [docbook2pdf false])
AC_CONFIG_FILES([config.make])
AC_OUTPUT