#1922: Review Parrot's 'make help'
---------------------+------------------------------------------------------
Reporter: jkeenan | Owner: jkeenan
Type: cage | Status: assigned
Priority: normal | Milestone:
Component: docs | Version: 2.10.0
Severity: low | Keywords:
Lang: | Patch:
Platform: |
---------------------+------------------------------------------------------
Comment(by jkeenan):
Replying to [comment:3 cotto]:
>
> *6)circular dependencies:
> docs-clean <-> clean
> docs <-> docs-dummy
> html <-> html-dummy
> htmlhelp <-> htmlhelp-dummy
>
> *7)html-clean,pdf depend on themselves
>
I think this analysis is incorrect. Take, for instance, this code in
''config/gen/makefiles/root.in'':
{{{
pdf:
$(MAKE) docs pdf
pdf-clean:
$(MAKE) docs pdf-clean
}}}
In ''config/inter/make.pm'', we have this assignment:
{{{
$conf->data->set( make_c => "$prog -C" );
}}}
... where `make` option `-C` means "change to the directory found after
`-C` before proceeding". This leads to this at the top of the Makefile:
{{{
MAKE = @make_c@
}}}
... which means that the `pdf` target translates to: "Change to the
''docs'' subdirectory and build the `pdf` target found in
''config/gen/makefiles/docs.in''. And similarly for `pdf-clean`.
So I don't see any circularity here. Does that make sense?
kid51
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1922#comment:20>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets