From 08d48e9f2c3613b68899e3af7d2ce00b3ca49bb5 Mon Sep 17 00:00:00 2001 From: Matan Bareket Date: Tue, 18 Dec 2018 20:09:09 -0500 Subject: BUILD: Copy README.md instead of README --- Makefile.common | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Makefile.common') 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 -- cgit v1.2.3