Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@sunsite.dk>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] manual: refactor the targets into GENDOC macro.
Date: Tue, 25 Oct 2011 18:52:59 +0200	[thread overview]
Message-ID: <87vcrdui6s.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <87hb2xwf17.fsf@macbook.be.48ers.dk> (Peter Korsgaard's message of "Tue, 25 Oct 2011 12:18:12 +0200")

>>>>> "Peter" == Peter Korsgaard <jacmet@uclibc.org> writes:

>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:
 Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
 Arnout> Also add a clean target, give absolute path to a2x, add a dependency
 Arnout> on the output file, and add to .PHONY.

 Arnout> +define GENDOC
 Arnout> +$(call GENDOC_INNER,$(1),xhtml,html,html,HTML)
 Arnout> +$(call GENDOC_INNER,$(1),chunked,split-html,chunked,Split HTML)
 Arnout> +$(call GENDOC_INNER,$(1),pdf,pdf,pdf,PDF,--dblatex-opts "-P latex.output.revhistory=0")
 Arnout> +$(call GENDOC_INNER,$(1),text,txt,text,Text)
 Arnout> +$(call GENDOC_INNER,$(1),epub,epub,epub,EPUB)
 Arnout> +clean: clean-$(1)
 Arnout> +clean-$(1):
 Arnout> +	$(Q)$(RM) -r $(O)/docs/$(1)

 Peter> This removes the entire docs/manual, including the source files, so I
 Peter> changed this so they are put in docs/manual/<format>, and seperate
 Peter> clean-manual-<format> clean targets.

Ehh, forget this - I somehow missed the $(O)/

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2011-10-25 16:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10  8:46 [Buildroot] [pull request v4] Pull request for branch for-2011.11/asciidoc-manual Thomas Petazzoni
2011-10-10  8:46 ` [Buildroot] [PATCH 1/4] manual: convert existing documentation to the asciidoc format Thomas Petazzoni
2011-10-10  9:00   ` Thomas De Schampheleire
2011-10-25 10:12   ` Peter Korsgaard
2011-10-10  8:46 ` [Buildroot] [PATCH 2/4] manual: provide make targets to build the documentation Thomas Petazzoni
2011-10-10  8:57   ` Yann E. MORIN
2011-10-10  9:03   ` Thomas De Schampheleire
2011-10-11 20:57   ` Arnout Vandecappelle
2011-10-11 20:59     ` [Buildroot] [PATCH] manual: refactor the targets into GENDOC macro Arnout Vandecappelle
2011-10-12  7:04       ` Thomas De Schampheleire
2011-10-12  7:06         ` Arnout Vandecappelle
2011-10-25 10:18       ` Peter Korsgaard
2011-10-25 16:52         ` Peter Korsgaard [this message]
2011-10-25 10:14   ` [Buildroot] [PATCH 2/4] manual: provide make targets to build the documentation Peter Korsgaard
2011-10-10  8:46 ` [Buildroot] [PATCH 3/4] remove the old buildroot.html documentation Thomas Petazzoni
2011-10-10  9:03   ` Thomas De Schampheleire
2011-10-25 10:22   ` Peter Korsgaard
2011-10-10  8:46 ` [Buildroot] [PATCH 4/4] remove Glibc_vs_uClibc document Thomas Petazzoni
2011-10-10  9:03   ` Thomas De Schampheleire
2011-10-25 10:21   ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vcrdui6s.fsf@macbook.be.48ers.dk \
    --to=jacmet@sunsite.dk \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox