git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] more dependencies in doc generation
@ 2007-09-20 20:43 Alexey Mahotkin
  2007-09-20 21:42 ` Alexey Mahotkin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Mahotkin @ 2007-09-20 20:43 UTC (permalink / raw)
  To: git

Hi,

I'm trying to solve the problem with `man git-diff' (unescaped troff
sequences in manpage), and the first thing that will obviously help is
the following patch:

diff --git a/Documentation/Makefile b/Documentation/Makefile
index fbefe9a..310d6a5 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -135,11 +135,11 @@ clean:
                $(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) -o $@+ $<
        mv $@+ $@

-%.1 %.5 %.7 : %.xml
+%.1 %.5 %.7 : %.xml callouts.xsl
        $(RM) $@
        xmlto -m callouts.xsl man $<

-%.xml : %.txt
+%.xml : %.txt asciidoc.conf
        $(RM) $@+ $@
        $(ASCIIDOC) -b docbook -d manpage -f asciidoc.conf \
                $(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) -o $@+ $<

It helps to regenerate things correctly when the stylesheets change.
Please apply.

Thank you,

-- 
Alexey Mahotkin
http://www.versioncontrolblog.com/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] more dependencies in doc generation
  2007-09-20 20:43 [PATCH] more dependencies in doc generation Alexey Mahotkin
@ 2007-09-20 21:42 ` Alexey Mahotkin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Mahotkin @ 2007-09-20 21:42 UTC (permalink / raw)
  To: git

On 9/21/07, Alexey Mahotkin <squadette@gmail.com> wrote:
> --- a/Documentation/Makefile
> +++ b/Documentation/Makefile
> @@ -135,11 +135,11 @@ clean:
> -%.xml : %.txt
> +%.xml : %.txt asciidoc.conf

This change is not needed, sorry.

-- 
Alexey Mahotkin
http://www.versioncontrolblog.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-20 21:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 20:43 [PATCH] more dependencies in doc generation Alexey Mahotkin
2007-09-20 21:42 ` Alexey Mahotkin

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).