User Tools

Site Tools


de:doc:lua_make

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
de:doc:lua_make [2014/11/23 20:44] – [Healthfiles] wsauerde:doc:lua_make [2014/12/15 12:54] (current) – wsauer
Line 177: Line 177:
  
 ==== lib_lua ==== ==== lib_lua ====
-In here you can find some lua library scripts for generic functions+In dieser findest du einige Lua Bibliotheksskripte für generische Funktionen
  
 ==== lib_protocol ==== ==== lib_protocol ====
-In here you can find some lua library scripts for diagnostic related functions+In dieser hier findest du einige Lua Bibliotheksskripte für diagnosebezogene Funktionen
  
-==== local.make and local_template.make ==== +==== local.make und local_template.make ==== 
-local.make will contain your personal settings. It is not part of the repository content, as it's content is different for each user. To generate your own local settings, copy the template file local_template.make and make your settings in local.make+local.make enthält deine persönlichen Einstellungen. Es ist nicht Teil des Repositorys, weil es für jeden Benutzer unterschiedlich ist. Um die eigenen Einstellungen zu erzeugen, kopiere die Templatedatei lokal template.make und mache deine Einstellungen in local.make
  
   cp local_template.make local.make   cp local_template.make local.make
  
-==== makefile ==== +==== Makefile ==== 
-Also here in the lua base directory the makefile is needed for the build process. Just don't change it.+Auch in dem lua Basisverzeichnis wird das Makefile für den Bauprozess benötigt. Ändere es einfach nicht.
  
  
-===== Running the make process =====+===== Durchlauf des Makeprozesses =====
  
-In opposite to all the complicate setup and explanations above, the build process is just simple:+Im Gegensatz zu dem komplizierten Setup und den obigen Erklärungen, ist der eigentliche Bauprozess sehr einfach:
  
-Edit or add the files as you need. For a good start, choose one of the existing *.lua files, copy it to where you need it and give it a clear name. Make sure that the script capabilities do not exceed the security rights of the workgroup folder they are stored in. +Bearbeite oder füge Dateien hinzu wie Du es benötigst. Für einen guten Start, wähle eins der existierenden *.lua Dateien, kopiere es wohin du es benötigst und gib Ihm einen eindeutigen Namen. Stelle sicher das die Fähigkeiten des Skriptes, nicht die Sicherheitsrechte des Arbeitsgruppenordners überschreiten in dem es abgelegt ist. 
  
-Then type in the cygwin command line windows the following commands one after the other. If you do this in a workgroup folder, only the files in that folder will be proceed. If you type the commands in the lua root folder, then all workgroup folders, which you have listed in the local.make will be proccessed.+Tippe dann die cygwin Kommandozeilenbefehle in das Cygwinterminalfenster, eins nach dem anderen ein. Wenn Du dies in einem Arbeitsgruppenordner machst, werden nur die Dateien in diesem Ordner bearbeitet. Wenn Du die Kommandos in in einem Lua-Wurzelverzeichnis zur Ausführung bringst, werden alle Arbeitsverzeichnisse, welche Du in local.make eingetragen hast, ausgeführt.
  
-  - **make clean**: this will remove all older results and temporary files +  - **make clean**: dies entfernt alle älteren Ergebnisse und temporären Dateien. 
-  - **make**: This will convert all module XML files, all other templates and all *.lua files into Lua source files with the extension .luasource. Although normal *.lua files will only been copied by this, this renaming is necessary to not accidently delete some handwritten *.lua files when calling "make clean" +  - **make**: Dies konvertiert alle Modul-xml Dateien , alle anderen Templates und alle *.lua Dateien in Lua Quelldateien mit der Endung .luasource. Obwohl normale *.lua Dateien damit kopiert werden, ist diese Namensänderung notwendig, um nicht ungewollt einige handgeschriebenen *.lua Dateien beim Aufruf von "make clean" zu löschen. 
-  - **make scripts**: This will now start the real compile process, where the lua- compiler takes all luasource files and translates them into precompiled binaries (*.lbc). Hint: During the compilation of a script all include files are linked together in a temporary file called lua.tmp. If the compiler fails with any error message, that is the right file to look into why the compiler is complaining. +  - **make scripts**: Dies startet den eigentlichen Übersetzungsprozess, in dem der lua-Übersetzer alle luasource Daten nimmt und sie in vorübersetzte Binärdateien übersetzt.(*.lbc). Hinweis: Während der Übersetzung eines Skripts, werden alle include Dateien mit einer temporären Datei zusammengefasst und unter lua.tmp abgelegt.Wenn der Übersetzer mit einer Fehlernachricht abbricht, ist dies die richtige Datei um nachzuschauen woran der Übersetzer gescheitert ist. 
-  - **make pack**: When enabled and configured in local.make, this call will take all compiled *.lbc files and encrypt them accourding to the workgroup directory in which they are in, make up the folderstructure in the target directory, which is also configured in local.make, and and copy the results into it.+  - **make pack**: Wenn dies konfiguriert und eingeschaltet ist im local.make wird es die übersetzten *.lbc Dateien nehmen und in Abhängigeit des Verzeichnisses, in dem Sie sich befinden, verschlüsseln, eine Ordnerstruktur im Zielverzeichnis erstellen, wie sie in local.make konfiguriert worden ist und dann die Ergebnisse dorthin kopieren.
      
-After that the final output can be found in the configured target directory, encrypted and ready to distribute.+Danach kann das Ergebnis in dem konfigurierten Zielverzeichnis gefunden werden und ist nun bereit zur Verteilung.
de/doc/lua_make.1416775448.txt.gz · Last modified: 2014/11/23 20:44 by wsauer