From a7af5ee4661001776c4c3f9db089c46ee326b856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=B6si?= Date: Wed, 12 Nov 2008 19:02:15 +0000 Subject: Neuer Build-Prozess mit eingechecktem Compose-Compilat und separatem Make-Compose. git-svn-id: https://svn.neo-layout.org@1179 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- windows/neo-vars/src/Make-Compose.bat | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 windows/neo-vars/src/Make-Compose.bat (limited to 'windows/neo-vars/src/Make-Compose.bat') diff --git a/windows/neo-vars/src/Make-Compose.bat b/windows/neo-vars/src/Make-Compose.bat new file mode 100644 index 0000000..bba51f2 --- /dev/null +++ b/windows/neo-vars/src/Make-Compose.bat @@ -0,0 +1,38 @@ +@echo off + +echo Setting local path variables +:: TortoiseSVN and its clever tool SubWCRev +set Tsvnpath=C:\Programme\TortoiseSVN\bin +set SubWCRev=%Tsvnpath%\SubWCRev.exe + +set ahkpath=C:\Programme\AutoHotkey +set AutoHotKey=%ahkpath%\AutoHotKey.exe + +REM The path to the authohotkey directory in the local svn copy, MUST be "." +set srcdir=. +set outdir=..\out +set Ssrcdir=%srcdir%\Source +set batrevtemplate2=%Ssrcdir%\_subwcrev2.tmpl.bat +set batrevoutput2=%Ssrcdir%\_subwcrev2.bat + +REM The path to the directory used for generating a consistent SVN version (revision number) +set svnversiondir2=..\..\..\Compose + +echo Generating Version File +"%SubWCRev%" "%svnversiondir2%" "%batrevtemplate2%" "%batrevoutput2%" +call "%batrevoutput2%" + +set fncomp=%Ssrcdir%\Compose.generated.ahk +"%SubWCRev%" "%svnversiondir2%" -nm +if errorlevel 1 ( + set fncomp=%Ssrcdir%\Compose-tainted.generated.ahk +) + +echo Deleting old Compose sequences +del "%Ssrcdir%\Compose.generated.ahk" "%Ssrcdir%\Compose-tainted.generated.ahk" 2> nul + +echo Compiling Compose sequences +"%AutoHotkey%" "%Ssrcdir%\makecompose.ahk" "%CompRevision%" "%fncomp%" "%svnversiondir2%\en_US.UTF-8" "%svnversiondir2%\Compose.neo" + +echo Compose Update complete! You can now close this log-window. +pause -- cgit v1.2.3