summaryrefslogtreecommitdiffstats
path: root/windows/neo-vars/Make-Build.bat
diff options
context:
space:
mode:
authormösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-11-03 13:54:12 +0000
committermösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-11-03 13:54:12 +0000
commit8f7d2ebe37acc1b93f0af7c034c6cd34a224be28 (patch)
tree82b43922ca6412e1c1f51e8f99b5c27e7b745026 /windows/neo-vars/Make-Build.bat
parent891e56d24c190ea73d692f4df3f7ec4fb0e6eab8 (diff)
• ähnliche Ordnerstruktur wie für das alte AHK-Skript erstellt.
• neo20.ahk und neo20.exe werden nun nicht mehr hier eingecheckt sondern generiert und stehen für den Import an geeigneterer Stelle bereit. git-svn-id: https://svn.neo-layout.org@1094 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to '')
-rw-r--r--windows/neo-vars/Make-Build.bat18
1 files changed, 12 insertions, 6 deletions
diff --git a/windows/neo-vars/Make-Build.bat b/windows/neo-vars/Make-Build.bat
index abd32fa..40a1fc6 100644
--- a/windows/neo-vars/Make-Build.bat
+++ b/windows/neo-vars/Make-Build.bat
@@ -10,10 +10,11 @@ set Ahk2Exe=%ahkpath%\Compiler\Ahk2Exe.exe
REM The path to the authohotkey directory in the local svn copy, MUST be "."
set srcdir=.
-set ahkrevtemplate=%srcdir%\_subwcrev.tmpl.ahk
-set ahkrevoutput=%srcdir%\_subwcrev.ahk
-set batrevtemplate=%srcdir%\_subwcrev.tmpl.bat
-set batrevoutput=%srcdir%\_subwcrev.bat
+set Ssrcdir=%srcdir%\Source
+set ahkrevtemplate=%Ssrcdir%\_subwcrev.tmpl.ahk
+set ahkrevoutput=%Ssrcdir%\_subwcrev.ahk
+set batrevtemplate=%Ssrcdir%\_subwcrev.tmpl.bat
+set batrevoutput=%Ssrcdir%\_subwcrev.bat
REM The path to the directory used for generating a consistent SVN version (revision number)
set svnversiondir=..
@@ -31,7 +32,7 @@ call "%batrevoutput%"
set fn=%srcdir%\neo20-r%Revision%
echo Compiling Compose sequences
-%srcdir%\makecompose.ahk
+%Ssrcdir%\makecompose.ahk
rem echo Killing the old (AHK)Driver
rem tskill %fn%
@@ -39,8 +40,13 @@ rem tskill %fn%
echo removing old version(s) of NEO AHK Exe file
del %srcdir%\neo20-r*.exe 2> nul
+echo creating all-in-one script
+echo ; Gesamtdatei > %fn%.ahk
+
+for %%i in (_subwcrev en_us neocomp neovarscomp keydefinitions shortcuts recycle keyhooks varsfunctions) do (type "%Ssrcdir%\%%i.ahk" >> "%fn%.ahk")
+
echo Compiling the new Driver using Autohotkey
-"%Ahk2Exe%" /in "neo20-all.ahk" /out "%fn%.exe" /icon "%srcdir%\neo.ico"
+"%Ahk2Exe%" /in "%fn%.ahk" /out "%fn%.exe" /icon "%srcdir%\neo.ico"
echo Driver Update complete! You can now close this log-window.
pause \ No newline at end of file