makefile: add a both
target
Also, repair the `cs` target to not build packages before updating them.
This commit is contained in:
parent
cad79fe2b6
commit
c61e59fda5
|
@ -200,6 +200,10 @@ that with `SCHEME_SRC=...` instead of downloading a new copy.
|
|||
|
||||
make cs RACKET=racket SCHEME_SRC=path/to/ChezScheme
|
||||
|
||||
Use `make both` to build both traditional Racket and Racket-on-Chez,
|
||||
where packages are updated documentation is built only once (using
|
||||
traditional Racket).
|
||||
|
||||
[*] For now, RacketCS requires the variant of Chez Scheme at
|
||||
https://github.com/mflatt/ChezScheme
|
||||
|
||||
|
|
13
Makefile
13
Makefile
|
@ -175,8 +175,7 @@ set-src-catalog:
|
|||
CONFIGURE_ARGS_qq =
|
||||
MORE_CONFIGURE_ARGS =
|
||||
|
||||
SELF_UP =
|
||||
SELF_FLAGS_qq = SELF_RACKET_FLAGS="-G `cd $(SELF_UP)../../../build/config; pwd`"
|
||||
SELF_FLAGS_qq = SELF_RACKET_FLAGS="-G `cd ../../../build/config; pwd`"
|
||||
PLT_SETUP_OPTIONS_qq = PLT_SETUP_OPTIONS="$(JOB_OPTIONS) $(PLT_SETUP_OPTIONS)"
|
||||
INSTALL_SETUP_ARGS = $(SELF_FLAGS_qq) $(PLT_SETUP_OPTIONS_qq) SETUP_MACHINE_FLAGS="$(SETUP_MACHINE_FLAGS)"
|
||||
|
||||
|
@ -328,7 +327,7 @@ cs-after-racket-with-racket:
|
|||
|
||||
cs-after-racket-with-racket-and-scheme-src:
|
||||
$(RACKET) -O "info@compiler/cm" $(ABS_BOOT) racket/src/cs/absify.rkt just-to-compile-absify
|
||||
$(MAKE) cs-after-racket-with-abs-paths RACKET="$(ABS_RACKET)" SCHEME_SRC="$(ABS_SCHEME_SRC)" SELF_UP=../
|
||||
$(MAKE) cs-after-racket-with-abs-paths RACKET="$(ABS_RACKET)" SCHEME_SRC="$(ABS_SCHEME_SRC)"
|
||||
|
||||
cs-after-racket-with-abs-paths:
|
||||
$(MAKE) racket/src/build/cs/c/Makefile
|
||||
|
@ -407,6 +406,14 @@ win32-just-cs:
|
|||
racket\racket$(RACKETCS_SUFFIX) -G build\config -N raco -l- raco setup $(JOB_OPTIONS) $(PLT_SETUP_OPTIONS)
|
||||
$(MAKE) $(WIN32_CS_SETUP_TARGET) WIN32_PLAIN_RACKET=racket\racket$(RACKETCS_SUFFIX) $(WIN32_CS_COPY_ARGS)
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Both traditional Racket and RacketCS
|
||||
# ... but update packages and builds docs only once
|
||||
|
||||
both:
|
||||
$(MAKE) in-place
|
||||
$(MAKE) cs CS_SETUP_TARGET=in-place-setup PLT_SETUP_OPTIONS="-D $(PLT_SETUP_OPTIONS)"
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Configuration options for building installers
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user