From: Samuel Martin Date: Tue, 26 Aug 2014 20:49:04 +0200 Subject: [Buildroot] [PATCH v3 1/4] gendoc infra: cosmetic fixes Message-ID: <1409078947-5093-1-git-send-email-s.martin49@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net - wrap lines to 80 characters - fix space/tab mixup Signed-off-by: Samuel Martin Acked-by: Thomas De Schampheleire --- changes v2 -> v3: - update A/R/T tags changes v1 -> v2: - more tabs/space cleanup (ThomasDS) - fix line mess (ThomasDS) --- docs/manual/manual.mk | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/manual/manual.mk b/docs/manual/manual.mk index 8d401a2..136f725 100644 --- a/docs/manual/manual.mk +++ b/docs/manual/manual.mk @@ -70,8 +70,8 @@ $$(O)/docs/$(1)/$(1).$(4): docs/$(1)/$(1).txt \ $$(Q)mkdir -p $$(@D)/.build $$(Q)rsync -au docs/$(1)/*.txt $$(@D)/.build $$(Q)a2x $(6) -f $(2) -d book -L -r $$(TOPDIR)/docs/images \ - -D $$(@D) $$(@D)/.build/$(1).txt \ - --asciidoc-opts="$$(MANUAL_$(2)_ASCIIDOC_OPTS)" + --asciidoc-opts="$$(MANUAL_$(2)_ASCIIDOC_OPTS)" \ + -D $$(@D) $$(@D)/.build/$(1).txt -$$(Q)rm -rf $$(@D)/.build endef @@ -84,9 +84,12 @@ endef # The variable _SOURCES defines the dependencies. ################################################################################ define GENDOC -$(call GENDOC_INNER,$(pkgname),xhtml,html,html,HTML,--xsltproc-opts "--stringparam toc.section.depth 1") -$(call GENDOC_INNER,$(pkgname),chunked,split-html,chunked,split HTML,--xsltproc-opts "--stringparam toc.section.depth 1") -$(call GENDOC_INNER,$(pkgname),pdf,pdf,pdf,PDF,--dblatex-opts "-P latex.output.revhistory=0") +$(call GENDOC_INNER,$(pkgname),xhtml,html,html,HTML,\ + --xsltproc-opts "--stringparam toc.section.depth 1") +$(call GENDOC_INNER,$(pkgname),chunked,split-html,chunked,split HTML,\ + --xsltproc-opts "--stringparam toc.section.depth 1") +$(call GENDOC_INNER,$(pkgname),pdf,pdf,pdf,PDF,\ + --dblatex-opts "-P latex.output.revhistory=0") $(call GENDOC_INNER,$(pkgname),text,text,text,text) $(call GENDOC_INNER,$(pkgname),epub,epub,epub,ePUB) clean: $(pkgname)-clean -- 2.1.0