diff options
-rw-r--r-- | crawl-ref/source/libutil.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/makefile.mgw | 2 | ||||
-rw-r--r-- | crawl-ref/source/makefile_tiles.mgw | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc index e9b9c1193f..17a87b7780 100644 --- a/crawl-ref/source/libutil.cc +++ b/crawl-ref/source/libutil.cc @@ -37,7 +37,7 @@ #ifdef REGEX_PCRE // Statically link pcre on Windows - #ifdef WIN32CONSOLE + #if defined(WIN32CONSOLE) || defined(WIN32TILES) #define PCRE_STATIC #endif diff --git a/crawl-ref/source/makefile.mgw b/crawl-ref/source/makefile.mgw index f60dd5ffc8..9c306ae911 100644 --- a/crawl-ref/source/makefile.mgw +++ b/crawl-ref/source/makefile.mgw @@ -132,12 +132,14 @@ endif mkdir $(INSTALLDIR)\dat\descript 2>null || echo "">nul mkdir $(INSTALLDIR)\dat\database 2>null || echo "">nul mkdir $(INSTALLDIR)\settings 2>null || echo "">nul + mkdir $(INSTALLDIR)\docs 2>null || echo "">nul copy /y dat\*.des $(INSTALLDIR)\dat copy /y dat\lua\*.lua $(INSTALLDIR)\dat\lua copy /y dat\clua\*.lua $(INSTALLDIR)\dat\clua copy /y dat\descript\*.txt $(INSTALLDIR)\dat\descript copy /y dat\database\*.txt $(INSTALLDIR)\dat\database copy /y ..\settings\* $(INSTALLDIR)\settings + copy /y ..\docs\* $(INSTALLDIR)\docs clean: $(DELETE) $(OPATH)\*.o diff --git a/crawl-ref/source/makefile_tiles.mgw b/crawl-ref/source/makefile_tiles.mgw index dae38c86f2..9a3abf1e5c 100644 --- a/crawl-ref/source/makefile_tiles.mgw +++ b/crawl-ref/source/makefile_tiles.mgw @@ -174,13 +174,14 @@ endif mkdir $(INSTALLDIR)\dat\descript 2>null || echo "">nul mkdir $(INSTALLDIR)\dat\database 2>null || echo "">nul mkdir $(INSTALLDIR)\settings 2>null || echo "">nul + mkdir $(INSTALLDIR)\docs 2>null || echo "">nul copy /y dat\*.des $(INSTALLDIR)\dat copy /y dat\lua\*.lua $(INSTALLDIR)\dat\lua copy /y dat\clua\*.lua $(INSTALLDIR)\dat\clua copy /y dat\descript\*.txt $(INSTALLDIR)\dat\descript copy /y dat\database\*.txt $(INSTALLDIR)\dat\database copy /y ..\settings\* $(INSTALLDIR)\settings - copy /y ..\*.txt $(INSTALLDIR) + copy /y ..\docs\* $(INSTALLDIR)\docs mkdir $(INSTALLDIR)\dat\tiles 2>nul || echo "" > nul copy /y dat\tiles\*.bmp $(INSTALLDIR)\dat\tiles |