summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authormösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-05-12 00:07:47 +0000
committermösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-05-12 00:07:47 +0000
commitc8d24d23fad1a2ed2abd7aba8435c57c05c4ccfc (patch)
tree4e9cfa9e2cd5f4f42e7861a2ef25d7ec54049252 /windows
parent4f92d7732ffe442c429fe914b092654a29780bc3 (diff)
downloadneo-layout-c8d24d23fad1a2ed2abd7aba8435c57c05c4ccfc.tar.gz
neo-layout-c8d24d23fad1a2ed2abd7aba8435c57c05c4ccfc.tar.bz2
neo-layout-c8d24d23fad1a2ed2abd7aba8435c57c05c4ccfc.zip
Mit make-build-custom.bat kann man komplett compilierte AHK-EXEs machen, die auch die Datei custom.ahk einschließen (im Gegensatz zu make-build.bat). Das Ergebnis heißt dann neo20-custom.exe statt neo20.exe
git-svn-id: https://svn.neo-layout.org@1835 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows')
-rw-r--r--windows/neo-vars/src/make-build-custom.bat40
1 files changed, 40 insertions, 0 deletions
diff --git a/windows/neo-vars/src/make-build-custom.bat b/windows/neo-vars/src/make-build-custom.bat
new file mode 100644
index 0000000..5f48591
--- /dev/null
+++ b/windows/neo-vars/src/make-build-custom.bat
@@ -0,0 +1,40 @@
+@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 Ahk2Exe=%ahkpath%\Compiler\Ahk2Exe.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 ahkrevtemplate1=%Ssrcdir%\_subwcrev1.tmpl.ahk
+set ahkrevoutput1=%Ssrcdir%\_subwcrev1.generated.ahk
+set batrevtemplate1=%Ssrcdir%\_subwcrev1.tmpl.bat
+set batrevoutput1=%Ssrcdir%\_subwcrev1.bat
+
+set NEO2AppData=%APPDATA%\NEO2
+set customahk=%NEO2AppData%\custom.ahk
+set customahkbuild=%customahk%.buildtmp
+
+REM The path to the directory used for generating a consistent SVN version (revision number)
+set svnversiondir1=.
+
+echo Generating Version File
+"%SubWCRev%" "%svnversiondir1%" "%ahkrevtemplate1%" "%ahkrevoutput1%"
+"%SubWCRev%" "%svnversiondir1%" "%batrevtemplate1%" "%batrevoutput1%"
+call "%batrevoutput1%"
+
+set fnexe=%outdir%\neo20-custom.exe
+
+set fnahk=%srcdir%\neo20-all.ahk
+
+echo Compiling the new Driver using Autohotkey
+"%Ahk2Exe%" /in "%fnahk%" /out "%fnexe%" /icon "%srcdir%\neo_enabled.ico"
+
+echo Driver Update complete! You can now close this log-window.
+pause