Browse Source

Fix "missing configuration file" error during custom build using autotools

pull/2947/head
Michael 2 years ago
committed by Max Lv
parent
commit
3bcf258de1
1 changed files with 4 additions and 4 deletions
  1. 8
      doc/Makefile.am

8
doc/Makefile.am

@ -1,8 +1,8 @@
ASCIIDOC = @ASCIIDOC@ ASCIIDOC = @ASCIIDOC@
ASCIIDOC_EXTRA = ASCIIDOC_EXTRA =
MANPAGE_XSL = manpage-normal.xsl
MANPAGE_XSL = $(srcdir)/manpage-normal.xsl
XMLTO = @XMLTO@ XMLTO = @XMLTO@
XMLTO_EXTRA = -m manpage-bold-literal.xsl
XMLTO_EXTRA = -m $(srcdir)/manpage-bold-literal.xsl
GZIPCMD = @GZIP@ GZIPCMD = @GZIP@
INSTALL = @INSTALL@ INSTALL = @INSTALL@
RM = @RM@ RM = @RM@
@ -46,11 +46,11 @@ html-local: $(MAN_HTML)
$(AM_V_GEN)$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $< $(AM_V_GEN)$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
%.xml: %.asciidoc %.xml: %.asciidoc
$(AM_V_GEN)$(ASCIIDOC) -b docbook -d manpage -f asciidoc.conf \
$(AM_V_GEN)$(ASCIIDOC) -b docbook -d manpage -f $(srcdir)/asciidoc.conf \
-aversion=$(VERSION) $(ASCIIDOC_EXTRA) -o $@ $< -aversion=$(VERSION) $(ASCIIDOC_EXTRA) -o $@ $<
%.html: %.asciidoc %.html: %.asciidoc
$(AM_V_GEN)$(ASCIIDOC) -b html4 -d article -f asciidoc.conf \
$(AM_V_GEN)$(ASCIIDOC) -b html4 -d article -f $(srcdir)/asciidoc.conf \
-aversion=$(VERSION) $(ASCIIDOC_EXTRA) -o $@ $< -aversion=$(VERSION) $(ASCIIDOC_EXTRA) -o $@ $<
doc_DATA = $(MAN_HTML) doc_DATA = $(MAN_HTML)

Loading…
Cancel
Save