BUILD: Copy README.md instead of README

This commit is contained in:
Matan Bareket 2018-12-18 20:09:09 -05:00
parent 9f19b34bac
commit 08d48e9f2c
3 changed files with 10 additions and 5 deletions

View file

@ -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