Which is right?
H. S. Teoh via Digitalmars-d
digitalmars-d at puremagic.com
Sun Feb 15 15:38:08 PST 2015
On Sun, Feb 15, 2015 at 03:30:19PM -0800, Andrei Alexandrescu via Digitalmars-d wrote:
> On 2/15/15 3:20 PM, H. S. Teoh via Digitalmars-d wrote:
[...]
> >This is not the only package with this problem; std.range and
> >std.container also has the same issue.
>
> Indeed, and that doesn't help either :o). While at it, it would be
> great to eliminate the duplication in the makefile, e.g.:
>
> $(DOC_OUTPUT_DIR)/std_container_%.html : std/container/%.d $(STDDOC)
> $(DDOC) project.ddoc $(STDDOC) -Df$@ $<
>
> $(DOC_OUTPUT_DIR)/std_algorithm_%.html : std/algorithm/%.d $(STDDOC)
> $(DDOC) project.ddoc $(STDDOC) -Df$@ $<
>
> $(DOC_OUTPUT_DIR)/std_range_%.html : std/range/%.d $(STDDOC)
> $(DDOC) project.ddoc $(STDDOC) -Df$@ $<
>
> $(DOC_OUTPUT_DIR)/std_regex_%.html : std/regex/%.d $(STDDOC)
> $(DDOC) project.ddoc $(STDDOC) -Df$@ $<
>
> There must be a simple way to handle all packages in std/ in a uniform
> manner so we don't need separate definitions (STD_ALGO_MODULES,
> STD_RANGE_MODULES, STD_CONTAINER_MODULES... all that must go away).
>
> In brief the handling of packages in std/ needs some serious TLC, and
> quickly - before 2.067. As I vaguely recall you (H.S. Teoh) did most
> of the package-ing, would it be reasonable to kindly ask you to take
> this?
[...]
Actually, that's not quite accurate. :-P I only did std.algorithm; the
rest were done by other people. I didn't even do very much as far as the
makefiles were concerned; I just copy-n-pasted what std.container and
std.range did. I honestly don't even understand what the makefile lines
quoted above actually do (beyond a nebulous impression); I just
copy-n-pasted them for std.algorithm. You might prefer to find somebody
else who has a better grasp of makefile subtleties than myself for this
task. ;-)
T
--
What do you call optometrist jokes? Vitreous humor.
More information about the Digitalmars-d
mailing list