From 0775c7a757a7557513931dcd8c48e6fabaff7b49 Mon Sep 17 00:00:00 2001
From: pregmodfan <pregmodfan@cock.li>
Date: Sat, 11 Feb 2017 21:37:20 +0200
Subject: [PATCH] compilation scrips: autogenerated start.tw passage now
 removed after compilation - to avoid git versioning problems

---
 Makefile          | 2 +-
 compile.bat       | 3 +++
 compile_debug.bat | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 1bd3bb37f60..0662524af48 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,6 @@ $(STARTFILE):	$(SRCDIR)/config/start.tw.proto $(GENINCLUDES) \
 
 $(FCTARG): $(STARTFILE) $(shell find ${SRCDIR} -type f -name \*.tw -print)
 	./devTools/tweeGo/$(TWEEGOBIN) -o $(FCTARG) $(STARTFILE)
-
+	-$(RM) $(STARTFILE)
 clean:
 	-$(RM) $(STARTFILE) $(FCTARG)
diff --git a/compile.bat b/compile.bat
index 93dbbfab015..83f3f3779ab 100644
--- a/compile.bat
+++ b/compile.bat
@@ -6,4 +6,7 @@
 "%~dp0devTools\python-3.5.3\python.exe" "%~dp0devTools\scripts\includes.py" "src\config\start.tw.proto" "src\config\start.tw" "src" "%*"
 
 CALL "%~dp0devTools\tweeGo\tweego.exe" -o "%~dp0bin/FC_pregmod.html" "%~dp0src\config\start.tw"
+
+del "%~dp0src\config\start.tw"
+
 ECHO Done
diff --git a/compile_debug.bat b/compile_debug.bat
index cb1e788b5b0..4cba91215e6 100644
--- a/compile_debug.bat
+++ b/compile_debug.bat
@@ -7,5 +7,8 @@
 "%~dp0devTools\python-3.5.3\python.exe" "%~dp0devTools\scripts\includes.py" "src\config\start.tw.proto" "src\config\start.tw" "src" "%*"
 
 CALL "%~dp0devTools\tweeGo\tweego.exe" -o "%~dp0bin/FC_pregmod.html" "%~dp0src\config\start.tw"
+
+del "%~dp0src\config\start.tw"
+
 ECHO Done
 PAUSE
-- 
GitLab