OSDN Git Service

Small improvement to build script.
authorlordmulder <mulder2@gmx.de>
Sat, 27 Oct 2018 18:22:40 +0000 (20:22 +0200)
committerlordmulder <mulder2@gmx.de>
Sat, 27 Oct 2018 18:22:40 +0000 (20:22 +0200)
README.md
z_build.bat

index b6bfd90..be885fe 100644 (file)
--- a/README.md
+++ b/README.md
@@ -25,7 +25,6 @@ Some key features of the Simple x264/x265 Launcher software include:
 
 # System Requirements #
 
-
 Simple x264 Launcher is *100% standalone*, i.e. it does **not** require Mircrosoft.NET, Java Runtime Environment or other "external" dependencies.
 
 The required Qt DLLs as well as the encoder binaries are *included* with the application. Frameservers, like *Avisynth* or *VapourSynth*, may need to be installed separately though.
@@ -39,6 +38,8 @@ The minimum system requirements to run Simple x264/x265 Launcher are as follows:
 * VapourSynth input only available with [VapourSynth](http://www.vapoursynth.com/) **r24+** installed &ndash; [Python](https://www.python.org/downloads/windows/) is a prerequisite for VapourSynth!
 * YV16/YV24 color spaces require Avisynth 2.6 (see section 10)
 
+**Note:** Most of these requirements are *not* imposed by Simple x264 Launcher itself, but by the encoders (e.g. x264 and x265) that we use.
+
 
 # Anti-Virus Warning #
 
index b8a2f35..c5f2d00 100644 (file)
@@ -39,6 +39,10 @@ if not exist "%QTDIR%\include\QtCore\qglobal.h" (
        echo %%QTDIR%% header files not found. Please check your QTDIR var!
        goto BuildError
 )
+if not exist "%JAVA_HOME%\bin\java.exe" (
+       echo Java runtime not found. Please check your JAVA_HOME var!
+       goto BuildError
+)
 
 REM ///////////////////////////////////////////////////////////////////////////
 REM // Get current date and time (in ISO format)
@@ -128,7 +132,7 @@ if %TOOLS_VER% GEQ 140 (
 REM ///////////////////////////////////////////////////////////////////////////
 REM // Generate Docs
 REM ///////////////////////////////////////////////////////////////////////////
-"%~dp0\..\Prerequisites\Pandoc\pandoc.exe" --from markdown_github+pandoc_title_block+header_attributes+implicit_figures --to html5 --toc -N --standalone -H "%~dp0\etc\css\style.inc" --output "%PACK_PATH%\README.html" "%~dp0\README.md"
+"%~dp0\..\Prerequisites\Pandoc\pandoc.exe" --from markdown_github+pandoc_title_block+header_attributes+implicit_figures --to html5 --toc -N --standalone -H "%~dp0\etc\css\style.inc" "%~dp0\README.md" | "%JAVA_HOME%\bin\java.exe" -jar "%~dp0\..\Prerequisites\HTMLCompressor\bin\htmlcompressor-1.5.3.jar" --compress-css -o "%PACK_PATH%\README.html"
 
 REM ///////////////////////////////////////////////////////////////////////////
 REM // Compress