From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 1/7] docs/build: Misc cleanup Date: Tue, 21 Apr 2015 15:08:36 +0100 Message-ID: <1429625316.4743.106.camel@citrix.com> References: <1429526966-18874-1-git-send-email-andrew.cooper3@citrix.com> <1429526966-18874-2-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1429526966-18874-2-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Wei Liu , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, 2015-04-20 at 11:49 +0100, Andrew Cooper wrote: > * Use $(PANDOC) from ./configure > * Swap '-N' for its less-obscure longer form > * Don't explicitly echo about markdown. The call to markdown is emitted > * Whitespace cleanup > > Signed-off-by: Andrew Cooper Acked-by: Ian Campbell > CC: Ian Jackson > CC: Wei Liu > --- > docs/Makefile | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/docs/Makefile b/docs/Makefile > index 854fb50..f4c8412 100644 > --- a/docs/Makefile > +++ b/docs/Makefile > @@ -84,7 +84,7 @@ man5/%.5: man/%.pod.5 Makefile > .PHONY: clean > clean: > $(MAKE) -C figs clean > - rm -rf .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~ > + rm -rf .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~ > rm -rf *.ilg *.log *.ind *.toc *.bak *.tmp core > rm -rf html txt pdf > rm -rf man5 > @@ -115,7 +115,6 @@ html/index.html: $(DOC_HTML) $(CURDIR)/gen-html-index INDEX > html/%.html: %.markdown > $(INSTALL_DIR) $(@D) > ifdef MARKDOWN > - @echo "Running markdown to generate $*.html ... " > $(MARKDOWN) $< > $@.tmp ; \ > $(call move-if-changed,$@.tmp,$@) > else > @@ -189,7 +188,7 @@ endif > > pdf/%.pdf: %.markdown > $(INSTALL_DIR) $(@D) > - pandoc -N --toc --standalone $< --output $@ > + $(PANDOC) --number-sections --toc --standalone $< --output $@ > > ifeq (,$(findstring clean,$(MAKECMDGOALS))) > $(XEN_ROOT)/config/Docs.mk: