* [PATCH] Documentation: Fix git.7 dependencies.
@ 2007-01-19 9:54 Santi Béjar
2007-01-19 19:20 ` Junio C Hamano
0 siblings, 1 reply; 5+ messages in thread
From: Santi Béjar @ 2007-01-19 9:54 UTC (permalink / raw)
To: Git Mailing List
Signed-off-by: Santi Béjar <sbejar@gmail.com>
---
Documentation/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 96755ad..c258d09 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -78,10 +78,10 @@ cmds_txt = cmds-ancillaryinterrogators.txt \
cmds-plumbingmanipulators.txt \
cmds-synchingrepositories.txt
-$(cmds_txt): cmd-list.perl $(MAN1_TXT) $(MAN7_TXT)
+$(cmds_txt): cmd-list.perl $(MAN1_TXT)
perl ./cmd-list.perl
-git.7 git.html: git.txt core-intro.txt
+git.7 git.html: git.txt core-intro.txt $(cmds_txt)
clean:
rm -f *.xml *.html *.1 *.7 howto-index.txt howto/*.html doc.dep
--
1.5.0.rc1.g4b66a
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] Documentation: Fix git.7 dependencies.
2007-01-19 9:54 [PATCH] Documentation: Fix git.7 dependencies Santi Béjar
@ 2007-01-19 19:20 ` Junio C Hamano
2007-01-19 19:38 ` Santi Béjar
0 siblings, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2007-01-19 19:20 UTC (permalink / raw)
To: Santi Béjar; +Cc: Git Mailing List
Santi Béjar <sbejar@gmail.com> writes:
> Signed-off-by: Santi Béjar <sbejar@gmail.com>
> ---
> Documentation/Makefile | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Thanks.
> diff --git a/Documentation/Makefile b/Documentation/Makefile
> index 96755ad..c258d09 100644
> --- a/Documentation/Makefile
> +++ b/Documentation/Makefile
> @@ -78,10 +78,10 @@ cmds_txt = cmds-ancillaryinterrogators.txt \
> cmds-plumbingmanipulators.txt \
> cmds-synchingrepositories.txt
>
> -$(cmds_txt): cmd-list.perl $(MAN1_TXT) $(MAN7_TXT)
> +$(cmds_txt): cmd-list.perl $(MAN1_TXT)
> perl ./cmd-list.perl
I think this is correct, as mine creates a circular dependency
between git.txt -> cmds-*.txt -> git.txt.
> -git.7 git.html: git.txt core-intro.txt
> +git.7 git.html: git.txt core-intro.txt $(cmds_txt)
I do not think this is needed; doesn't doc.dep catch cmds_txt as
well?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Documentation: Fix git.7 dependencies.
2007-01-19 19:20 ` Junio C Hamano
@ 2007-01-19 19:38 ` Santi Béjar
2007-01-19 19:53 ` Junio C Hamano
0 siblings, 1 reply; 5+ messages in thread
From: Santi Béjar @ 2007-01-19 19:38 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git Mailing List
On 1/19/07, Junio C Hamano <junkio@cox.net> wrote:
> > -git.7 git.html: git.txt core-intro.txt
> > +git.7 git.html: git.txt core-intro.txt $(cmds_txt)
>
> I do not think this is needed; doesn't doc.dep catch cmds_txt as
> well?
It's not needed. I didn't see the doc.dep.
Santi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Documentation: Fix git.7 dependencies.
2007-01-19 19:38 ` Santi Béjar
@ 2007-01-19 19:53 ` Junio C Hamano
2007-01-19 20:20 ` Santi Béjar
0 siblings, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2007-01-19 19:53 UTC (permalink / raw)
To: Santi Béjar; +Cc: git
"Santi Béjar" <sbejar@gmail.com> writes:
> On 1/19/07, Junio C Hamano <junkio@cox.net> wrote:
>> > -git.7 git.html: git.txt core-intro.txt
>> > +git.7 git.html: git.txt core-intro.txt $(cmds_txt)
>>
>> I do not think this is needed; doesn't doc.dep catch cmds_txt as
>> well?
>
> It's not needed. I didn't see the doc.dep.
Thanks for sanity-checking.
The reason for the first hunk I gave in my previous message was
wrong, by the way; there is no circular dependency. The first
hunk is a good change nevertheless, because what will be in
cmds-*.txt command list does not depend on what is in git.txt.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Documentation: Fix git.7 dependencies.
2007-01-19 19:53 ` Junio C Hamano
@ 2007-01-19 20:20 ` Santi Béjar
0 siblings, 0 replies; 5+ messages in thread
From: Santi Béjar @ 2007-01-19 20:20 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
On 1/19/07, Junio C Hamano <junkio@cox.net> wrote:
> "Santi Béjar" <sbejar@gmail.com> writes:
>
> > On 1/19/07, Junio C Hamano <junkio@cox.net> wrote:
> >> > -git.7 git.html: git.txt core-intro.txt
> >> > +git.7 git.html: git.txt core-intro.txt $(cmds_txt)
> >>
> >> I do not think this is needed; doesn't doc.dep catch cmds_txt as
> >> well?
> >
> > It's not needed. I didn't see the doc.dep.
>
> Thanks for sanity-checking.
>
> The reason for the first hunk I gave in my previous message was
> wrong, by the way; there is no circular dependency. The first
> hunk is a good change nevertheless, because what will be in
> cmds-*.txt command list does not depend on what is in git.txt.
I can not reproduce it, but I got a circular depencency. This was my
motivation for the patch. Anyway, at least there is a usefull hunk in
my patch :)
Santi
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-19 20:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-19 9:54 [PATCH] Documentation: Fix git.7 dependencies Santi Béjar
2007-01-19 19:20 ` Junio C Hamano
2007-01-19 19:38 ` Santi Béjar
2007-01-19 19:53 ` Junio C Hamano
2007-01-19 20:20 ` Santi Béjar
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).