aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorMatan Bareket2018-12-18 20:09:09 -0500
committerMatan Bareket2018-12-25 11:37:26 -0500
commit08d48e9f2c3613b68899e3af7d2ce00b3ca49bb5 (patch)
treee793f2d2cda58ba04392fd67bab5f3cd328de6d7 /Makefile.common
parent9f19b34bac4a8165edc881a6b879f7a1dba87ace (diff)
downloadscummvm-rg350-08d48e9f2c3613b68899e3af7d2ce00b3ca49bb5.tar.gz
scummvm-rg350-08d48e9f2c3613b68899e3af7d2ce00b3ca49bb5.tar.bz2
scummvm-rg350-08d48e9f2c3613b68899e3af7d2ce00b3ca49bb5.zip
BUILD: Copy README.md instead of README
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common
index 9132a20e21..2a0490d8fa 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -6,12 +6,16 @@
# The default build target: just build the scummvm executable
######################################################################
-all: $(EXECUTABLE) plugins readme
+all: $(EXECUTABLE) plugins
ifdef SPLIT_DWARF
all: $(EXECUTABLE).dwp
endif
+ifdef USE_PANDOC
+all: readme
+endif
+
######################################################################
# Module settings
######################################################################
@@ -225,11 +229,11 @@ DISTNAME := scummvm-$(DISTVERSION)
DISTDIR := dist
VERFILE := $(DISTDIR)/$(DISTNAME)/base/internal_version.h
-#ifdef USE_PANDOC
+ifdef USE_PANDOC
# Convert README.md to plain text for any platform that might require it
readme: README.md
- $(QUIET_PANDOC)pandoc $(PANDOCFLAGS)
-#endif
+ $(QUIET_PANDOC)$(PANDOC) $(PANDOCFLAGS)
+endif
# TODO git via $(GITROOT)
$(VERFILE): $(srcdir)/base/internal_version.h