Commit Graph

397 Commits

Author SHA1 Message Date
Thierry Crozat
7db6a06e01 BUILD: Only package user manual if present
This fixes build errors, for example when running make bundle on
macOS, or make install on Linux, if make manual has not been run
previously.
2021-09-04 20:01:32 +02:00
Thierry Crozat
5bac2487d3 BUILD: Fix handling of file name with spaces
Using quotes does not work on all platforms.
2021-09-04 20:01:32 +02:00
Thierry Crozat
8305a9da5e Revert "BUILD: Add a target to download manual when not present"
This reverts commit 5205e1ad23.
2021-09-04 20:01:32 +02:00
Le Philousophe
5205e1ad23 BUILD: Add a target to download manual when not present
Don't use special characters in file name as make and shell don't have
same rules.
2021-08-28 11:27:06 +02:00
mataniko
f21fdee404 BUILD: Add build flags to download the manual from RTD 2021-08-27 15:54:10 +02:00
Cameron Cawley
0d916a9ef3 BUILD: Remove engines/detection_table.h as part of make distclean 2021-08-23 13:53:46 +01:00
Cameron Cawley
fb01b1fe54 BUILD: Remove configure.stamp as part of make distclean 2021-08-11 12:02:23 +01:00
lb_ii
fb1f399f5a DISTS: Add achievements.dat to various dat file lists 2021-06-10 01:56:23 +03:00
Orgad Shaneh
59752c2835 MAKEFILE: Auto-generate dependencies for scummvm.rc 2021-04-23 02:01:09 +02:00
Orgad Shaneh
bede68c8c6 MAKEFILE: Add a dependency for rebuilding base/plugins when config is changed
When adding/removing an engine, config.mk is changed, and this effectively
passes different -DENABLE_* command-line arguments to the compiler.

If base/plugins is not recompiled, the list of active plugins is not updated.

Before b813d1ca0d config.h was created every
time configure was executed, so everything was recompiled anyway. Now we need
to have an explicit dependency.

The only source file that's supposed to be affected is base/plugins, so there
is no reason to rebuild everything. Just add this dependency to update the
plugin list.
2021-04-03 23:04:38 +02:00
Orgad Shaneh
20d9f07cb7 MAKEFILE: Fix build without implicit rules
Running make -r used .o (with no base name) for the compilation output of
base/version.o.
2021-04-02 22:36:38 +02:00
Orgad Shaneh
b36386226e BUILD: Use git describe --dirty for git 2.x
It is way faster than git update-index.
2021-03-16 23:22:47 +01:00
Le Philousophe
51e174f202 ALL: Mark link commands as make recursive
With this make gives access to its jobserver for linker which will use
it when linking with -flto=jobserver
2021-01-17 21:53:15 +01:00
Jonathan Phénix
f839c544dc BUILD: Fix parallel "clean all" builds 2021-01-01 00:08:26 +01:00
Vladimir Serbinenko
b8a5483047 HADESCH: Use separate file for translations 2020-12-17 09:49:18 +01:00
Cameron Cawley
a1b67d2fbe CONFIGURE: Allow building without detection code for disabled engines 2020-12-06 20:04:02 +01:00
Cameron Cawley
3d46c5ecf9 BASE: Rearrange the dynamic detection code 2020-12-06 19:56:44 +01:00
Hubert Maier
e19d4e197b
AMIGAOS: Keep platform name continuity (#2643) 2020-11-26 15:10:01 +01:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
av-dx
b3c9375c26 BUILD: Remove detection.dwo files on clean 2020-11-12 06:36:16 +01:00
Paweł Kołodziejski
d44f1f77ed GRIM: Rename engine data patches 2020-11-01 14:10:09 +01:00
LMerckx
7bec7b7d31
CONFIGURE: Also install shaders if gles2 enabled (#2513)
CONFIGURE: Also install shaders if gles2 enabled
2020-10-12 18:26:41 +02:00
Paweł Kołodziejski
35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
fe7645c37e MAKEFILE: Cleanup 2020-10-05 20:43:45 +02:00
Pawel Kolodziejski
4f8f566299 ALL: Sync with ScummVM rev: c52f7e0e04 2020-10-05 14:54:26 +02:00
Thierry Crozat
fe32ac1423 DOC: Add make rule and bash script to run doxygen
The output directory is not defined by the DOXYGEN_OUTPUT_DIRECTORY
environment variable instead of being hardcoded to `html`. Both the
make rule and the bash script set that variable to `html` by default,
but in the case of the bash script we can override it by defining
the variable in the environement before running the script.
2020-10-05 02:12:48 +01:00
Pawel Kolodziejski
4631c0e2ed ALL: Sync with ScummVM rev: a4002bdeee 2020-10-04 23:59:26 +02:00
Eugene Sandulenko
c2010e2560 BUILD: Fix linking on some gcc versions 2020-10-04 22:07:59 +02:00
Pawel Kolodziejski
ff0f619b1e ALL: Drop not updated file 2020-10-04 16:10:09 +02:00
Eugene Sandulenko
b668c1ac90 BUILD: Detect changes in detection-related files 2020-10-03 18:52:39 +02:00
aryanrawlani28
02730ee176 BUILD: MAKEFILES: Improve syntax of if checks 2020-10-03 14:56:36 +02:00
aryanrawlani28
2f05960913 BUILD: MAKEFILES: Rename USE_RULES -> LOAD_RULES_MK 2020-10-03 14:56:36 +02:00
aryanrawlani28
11615faca8 MAKEFILES: Include dynamic building detection module if requested 2020-10-03 14:56:36 +02:00
aryanrawlani28
0cbff637d4 MAKEFILES: Include all detection objects while keeping the rest as-is.
- This enables detection objects to be always available and build into the executable.
2020-10-03 14:56:36 +02:00
aryanrawlani28
28dc54940f BUILD: MAKEFILE: Introduce DETECT_OBJS variable. Executable depends on it.
Note: No detection objects added currently. It's just an empty variable uptill now.
- These DETECT_OBJS will be seen in action in the new commits
- They contain engine_name/detection.o
- They have MetaEngine code, which has detection features.
- This way, Executable will have linked against the detection.o files
- Detection.cpp files will be individually compilable and not dependent on engine
2020-10-03 14:56:36 +02:00
Pawel Kolodziejski
5487e5e718 ALL: Sync with ScummVM rev: e08ba6ff14 2020-09-27 19:45:22 +02:00
Pawel Kolodziejski
f847b15e46 ALL: Added missing theme renames for distribution 2020-09-24 17:19:37 +02:00
Pawel Kolodziejski
162e6b5a7b WINTERMUTE: Added missing entry for installing WME shaders 2020-09-20 22:12:38 +02:00
Pawel Kolodziejski
15a759370a ALL: Synced with ScummVM - rev: bdbbcd81ae 2020-09-12 19:38:50 +02:00
Pawel Kolodziejski
d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b8 2020-09-03 02:21:14 +02:00
Thierry Crozat
cd8c3f8811 BUILD: Add macgui.dat to list of engine data files to distribute 2020-09-02 20:24:06 +01:00
BeWorld
2f1acbe627 MORPHOS: simplify VERSION
- Same as AmigaOS4, add AMIGA format DATE
- Configure : force optimization level on release build
2020-08-21 00:59:18 +02:00
Cameron Cawley
ce4f49966c BUILD: Add missing rule for converting the documentation 2020-05-15 15:48:08 +02:00
Pawel Kolodziejski
6bd68bff5f DISTS: Removed duplicated line 2020-05-09 21:15:50 +02:00
Pawel Kolodziejski
b586571900 ALL: synced with ScummVM commit 09bf38c120 2020-05-09 20:05:54 +02:00
Thierry Crozat
3b6b881ad4 DIST: Fix dead links in converted README file
This fixes bug #10946.
2020-04-26 15:40:29 +01:00
Thierry Crozat
e9049d3278 DIST: Add CONTRIBUTING.md to the list of files to distribute
The main reason for that change is that there is a link to it from
the README.md file, so distributing CONTRIBUTING.md avoids having
a dead link in the distributed README.md.
2020-04-26 15:35:01 +01:00
Cameron Cawley
d95e7504ed BUILD: Convert the NEWS.md file if pandoc is installed 2020-03-12 11:28:00 +00:00
Le Philousophe
41e1dc00be Fix building when selected engines don't have their own debugger
In this case, the linker optimizes out Debugger which get required
later by Engine due to @dreammaster rework. Building with all engines
prevents optimization because several engines subclass Debugger and they
are included before gui.a in linker command line
2020-02-16 17:54:36 +02:00
Lothar Serra Mari
b25841e4ae BUILD: Add ultima.dat to the list of engine data files 2020-02-02 22:35:20 +01:00