From de414420472a8ffb61dc2e558221a9fd501c3e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ma=C5=82ek?= Date: Sat, 31 May 2014 16:10:18 +0200 Subject: [PATCH] Update Readme.md with code styling. Added code formatting for Linux commands for building. --- Readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Readme.md b/Readme.md index 04c26b9..a9b8043 100644 --- a/Readme.md +++ b/Readme.md @@ -129,7 +129,9 @@ Instructions for Building TrueCrypt for Linux and Mac OS X: command to configure the wxWidgets static library for TrueCrypt and to build it: + ```sh $ make WX_ROOT=/usr/src/wxWidgets wxbuild + ``` The variable WX_ROOT must point to the location of the source code of the wxWidgets library. Output files will be placed in the './wxrelease/' @@ -137,11 +139,15 @@ Instructions for Building TrueCrypt for Linux and Mac OS X: 3) To build TrueCrypt, run the following command: + ```sh $ make + ``` or if you have no wxWidgets shared library installed: + ```sh $ make WXSTATIC=1 + ``` 4) If successful, the TrueCrypt executable should be located in the directory 'Main'. @@ -150,8 +156,10 @@ By default, a universal executable supporting both graphical and text user interface is built. To build a console-only executable, which requires no GUI library, use the 'NOGUI' parameter: + ```sh $ make NOGUI=1 WX_ROOT=/usr/src/wxWidgets wxbuild $ make NOGUI=1 WXSTATIC=1 + ```