aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
authorCameron Cawley2019-03-20 18:26:38 +0000
committerMatan Bareket2019-04-02 11:59:31 -0400
commit364fb12e83f5a2a6c2d1596d3f374b47f6b20146 (patch)
tree5a31c2a8d9ca60510b9fc1e475c4d8970029e8eb /backends/platform/sdl
parent93b9ae2e60bef24b1ed45890dfce083172f2c6a4 (diff)
downloadscummvm-rg350-364fb12e83f5a2a6c2d1596d3f374b47f6b20146.tar.gz
scummvm-rg350-364fb12e83f5a2a6c2d1596d3f374b47f6b20146.tar.bz2
scummvm-rg350-364fb12e83f5a2a6c2d1596d3f374b47f6b20146.zip
BUILD: Convert the NEWS.md file if pandoc is installed
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/win32/win32.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/backends/platform/sdl/win32/win32.mk b/backends/platform/sdl/win32/win32.mk
index 887bae6c45..227878eaf0 100644
--- a/backends/platform/sdl/win32/win32.mk
+++ b/backends/platform/sdl/win32/win32.mk
@@ -24,7 +24,6 @@ win32dist: all
cp $(srcdir)/COPYING.LGPL $(WIN32PATH)/COPYING.LGPL.txt
cp $(srcdir)/COPYING.FREEFONT $(WIN32PATH)/COPYING.FREEFONT.txt
cp $(srcdir)/COPYRIGHT $(WIN32PATH)/COPYRIGHT.txt
- cp $(srcdir)/NEWS $(WIN32PATH)/NEWS.txt
cp $(srcdir)/doc/cz/PrectiMe $(WIN32PATH)/doc/cz/PrectiMe.txt
cp $(srcdir)/doc/de/NEUES $(WIN32PATH)/doc/de/NEUES.txt
cp $(srcdir)/doc/QuickStart $(WIN32PATH)/doc/QuickStart.txt
@@ -35,7 +34,13 @@ 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.md $(WIN32PATH)/README.md
+ifdef USE_PANDOC
+ cp NEWS $(WIN32PATH)/NEWS.txt
+ cp README $(WIN32PATH)/README.txt
+else
+ cp $(srcdir)/NEWS.md $(WIN32PATH)/NEWS.txt
+ cp $(srcdir)/README.md $(WIN32PATH)/README.txt
+endif
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