Bug 13436 – posix.mak is broken for dlang.org repo

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2014-09-07T13:54:00Z
Last change time
2015-01-20T03:12:04Z
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2014-09-07T13:54:32Z
After a $ make -f posix.mak, most stuff seems to build until reaching this point: ../dmd-2.066.0/src/dmd -lib -oflib/libdruntime-linux64so.a lib/libdruntime-linux64so.o obj/64/errno_c.o obj/64/bss_section.o obj/64/threadasm.o make[1]: Leaving directory `/home/drey/dev/projects/druntime-2.066.0' echo "LATEST=2.066.0" >2.066.0.ddoc make --directory=../phobos-2.066.0 -f posix.mak -j 4 \ release html \ DMD=../dmd-2.066.0/src/dmd \ DRUNTIME_PATH=../druntime-2.066.0 \ DOC_OUTPUT_DIR=/home/drey/dev/projects/dlang.org/web/phobos \ STDDOC="`pwd`/2.066.0.ddoc `pwd`/std.ddoc" make[1]: Entering directory `/home/drey/dev/projects/phobos-2.066.0' make[1]: *** No rule to make target `release'. Stop. make[1]: Leaving directory `/home/drey/dev/projects/phobos-2.066.0' make: *** [/home/drey/dev/projects/dlang.org/web/phobos/index.html] Error 2
Comment #1 by andrej.mitrovich — 2014-09-07T18:46:28Z
Also the contributing docs are only valid for the Windows makefile, which is just sad: https://github.com/D-Programming-Language/dlang.org/blob/master/CONTRIBUTING.md $ make -f posix.mak expression.html From https://github.com/D-Programming-Language/dmd * branch HEAD -> FETCH_HEAD Current release: 2.066.0 make: *** No rule to make target `expression.html'. Stop.
Comment #2 by andrei — 2015-01-19T04:27:33Z
Fixed. Thanks!
Comment #3 by andrei — 2015-01-19T04:27:51Z
Sorry, wrong window...
Comment #4 by slavo5150 — 2015-01-19T04:53:03Z
This issue should probably be generalized to accurately documenting the build process for dlang.org. dlang.org should have clear instructions in readme.md (or contributing.md if that's the convention) for building all of dlang.org, building a single document, and how to verify in a browser (e.g. Are there any server-side components that require a web server? If not, say so.) A little about the site's structure and technologies would be good. For example, I see some files related to dub and even an .ncx file (what's that?). Since the site is mostly written in DDOC, a brief sentence about DDOC and a link to the DDOC reference would be helpful.