Am 03.09.2016 um 16:04 schrieb Ludovic Courtès:
>> > Shall I move these to "doc" or to a new output (e.g. "examples").
> It would make sense to move them to “doc”, indeed; we’ve done it in
> other packages.
I tried, but did not manage. Building eat 3,8 GB of temp-space, then
failed due to the ram-disk being out of space.
For somebody else wanting to work on this: I assume adding these lines
to patch-paths phase should move the demo and sample into the docs.
+ ;; install demo and sample code into docs
+ (substitute* "openjdk.src/jdk/make/common/Defs.gmk"
+ (("^DEMODIR[ \t]+=.*/demo$")
+ "DEMODIR = $(OUTPUTDIR)/docs$(DOCSDIRSUFFIX)/demo\n")
+ (("^SAMPLEDIR[ \t]+=.*/sample$")
+ "DEMODIR = $(OUTPUTDIR)/docs$(DOCSDIRSUFFIX)/sample\n"))
I'm not going to work on this any longer. I've spend two hours
scrabbling about the targets within this source and each try did take
another half an hour - and then failed due to out of disk-space. This
confirms my opinion about the poor quality of Java software.
| Hartmut Goebel | h.goe...@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |