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

View File

@ -36,7 +36,7 @@ win32dist: all
cp $(srcdir)/doc/da/HurtigStart $(WIN32PATH)/doc/da/HurtigStart.txt
cp $(srcdir)/doc/de/Schnellstart $(WIN32PATH)/doc/de/Schnellstart.txt
cp $(srcdir)/doc/se/Snabbstart $(WIN32PATH)/doc/se/Snabbstart.txt
cp $(srcdir)/README $(WIN32PATH)/README.txt
cp $(srcdir)/README.md $(WIN32PATH)/README.md
cp $(WIN32SDLDOCPATH)/README-SDL.txt $(WIN32PATH)/README-SDL.txt
cp $(srcdir)/doc/de/LIESMICH $(WIN32PATH)/doc/de/LIESMICH.txt
cp $(srcdir)/doc/se/LasMig $(WIN32PATH)/doc/se/LasMig.txt

1
configure vendored
View File

@ -5578,6 +5578,7 @@ EXEPRE := $HOSTEXEPRE
EXEEXT := $HOSTEXEEXT
NASM := $NASM
NASMFLAGS := $NASMFLAGS
PANDOC := $PANDOC
PANDOCFLAGS := $PANDOCFLAGS
ZLIB_LIBS := $ZLIB_LIBS
ZLIB_CFLAGS := $ZLIB_CFLAGS