git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Sipek <jeffpc@josefsipek.net>
To: Per Cederqvist <cederp@opera.com>
Cc: git@vger.kernel.org
Subject: Re: [GUILT 2/5] doc: guilt.xml depends on cmds.txt.
Date: Fri, 23 Jan 2015 09:23:05 -0500	[thread overview]
Message-ID: <20150123142304.GB101465@meili.jeffnet.31bits.net> (raw)
In-Reply-To: <1422019499-2012-3-git-send-email-cederp@opera.com>

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>

On Fri, Jan 23, 2015 at 02:24:56PM +0100, Per Cederqvist wrote:
> Specify an explicit dependency, to stop make from trying to generate
> guilt.xml if cmds.txt could not be created.  The asciidoc will fail
> and produce an error message that might hide the original error
> message.
> 
> The added dependency causes make to not remove the guilt.xml file.
> Add *.xml to .gitignore.
> 
> Signed-off-by: Per Cederqvist <cederp@opera.com>
> ---
>  Documentation/.gitignore | 3 +++
>  Documentation/Makefile   | 2 ++
>  2 files changed, 5 insertions(+)
> 
> diff --git a/Documentation/.gitignore b/Documentation/.gitignore
> index c4f0588..9b8d4da 100644
> --- a/Documentation/.gitignore
> +++ b/Documentation/.gitignore
> @@ -11,3 +11,6 @@ version.txt
>  
>  # Generated file dependency list
>  doc.dep
> +
> +# Intermediate generated files
> +*.xml
> diff --git a/Documentation/Makefile b/Documentation/Makefile
> index ec3c9e8..2574125 100644
> --- a/Documentation/Makefile
> +++ b/Documentation/Makefile
> @@ -60,6 +60,8 @@ cmds.txt: cmd-list.sh $(MAN1_TXT)
>  
>  guilt.7 guilt.html: guilt.txt footer.txt version.txt
>  
> +guilt.xml: cmds.txt
> +
>  clean:
>  	rm -f *.xml *.html *.1 *.7 doc.dep
>  	rm -f cmds.txt
> -- 
> 2.1.0
> 

-- 
The obvious mathematical breakthrough would be development of an easy way to
factor large prime numbers.
		- Bill Gates, The Road Ahead, pg. 265

  reply	other threads:[~2015-01-23 14:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23 13:24 [GUILT 0/5] doc: less guilt-foo invocations, minor Makefile fixes Per Cederqvist
2015-01-23 13:24 ` [GUILT 1/5] Fix generation of Documentation/usage-%.txt Per Cederqvist
2015-01-23 14:21   ` Jeff Sipek
2015-01-23 14:33     ` Per Cederqvist
2015-01-23 14:36       ` Jeff Sipek
2015-01-23 13:24 ` [GUILT 2/5] doc: guilt.xml depends on cmds.txt Per Cederqvist
2015-01-23 14:23   ` Jeff Sipek [this message]
2015-01-23 13:24 ` [GUILT 3/5] doc: don't use guilt-foo invocations in examples Per Cederqvist
2015-01-23 14:25   ` Jeff Sipek
2015-01-23 13:24 ` [GUILT 4/5] doc: don't use guilt-foo invocations in usage messages Per Cederqvist
2015-01-23 14:27   ` Jeff Sipek
2015-01-23 13:24 ` [GUILT 5/5] doc: git doesn't use git-foo invocations Per Cederqvist
2015-01-23 14:29   ` Jeff Sipek

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=20150123142304.GB101465@meili.jeffnet.31bits.net \
    --to=jeffpc@josefsipek.net \
    --cc=cederp@opera.com \
    --cc=git@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).