diff --git a/xwords4/wasm/Makefile b/xwords4/wasm/Makefile index 42953e759..40ac72770 100644 --- a/xwords4/wasm/Makefile +++ b/xwords4/wasm/Makefile @@ -52,8 +52,10 @@ DEFINES += -DGITREV=\"$(shell git describe --tags --dirty)\" ifeq ($(MEMDEBUG),TRUE) DEFINES += -DMEM_DEBUG -DDEBUG -O0 + WEBDIR = dbg else DEFINES += -O3 + WEBDIR = rel endif OUTPUTS = main.html main.js main.js.mem main.data main.html.mem main.wasm @@ -83,7 +85,7 @@ main.html: ${INPUTS} Makefile shell_minimal.html install: main.html if [ -n "${XW_WASM_DEST}" ]; then \ for FILE in ${OUTPUTS} paho-mqtt.js xwutils.js; do \ - [ -f $$FILE ] && scp $$FILE ${XW_WASM_DEST}; \ + [ -f $$FILE ] && scp $$FILE ${XW_WASM_DEST}/${WEBDIR}/; \ echo "$$FILE copied"; \ done; \ fi diff --git a/xwords4/wasm/main.c b/xwords4/wasm/main.c index 7c66979b6..8d288711a 100644 --- a/xwords4/wasm/main.c +++ b/xwords4/wasm/main.c @@ -476,7 +476,7 @@ showName( GameState* gs ) { const char* title = gs->gameName; char buf[64]; - if ( 1 < countDicts( gs->globals ) ) { + if ( true || 1 < countDicts( gs->globals ) ) { sprintf( buf, "%s (%s)", gs->gameName, lcToLocale(gs->gi.dictLang) ); title = buf; }