From: konrad Date: Sat, 26 Feb 2011 18:08:58 +0000 (+0000) Subject: some small adjustments to the build process X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=541dbfcc43540c5b24358714dafe2e1b7a802d7c;p=web%2Fkonrad%2Fsmoke.git some small adjustments to the build process git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@734 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/doc/build.html b/doc/build.html index 34e8bb9..658ee2d 100644 --- a/doc/build.html +++ b/doc/build.html @@ -59,9 +59,9 @@ Both server and client depend on some shared code that is pre-compiled into some Make sure that the correct version of QMake is in your PATH (you can check this by executing qmake -version). Also note that MagicSmoke and Qt have to be compiled with the same compiler.

-Go to the main directory of MagicSmoke. There you will find a file called Makefile.unix for Linux and other Unixoid systems and Makefile.mingw for MinGW/Windows installations. There are a few lines at the start of those files that you can adjust to better match your system (defaults should be fine for most cases). I have no access to a Mac, but I would guess that the Makefile.unix should need only very few modifications to work if the GNU tools are available.

+Go to the main directory of MagicSmoke. There are a few lines at the start of the Makefile that you can adjust to better match your system (defaults should be fine for most cases).

-There is no support for automatic builds without MinGW on Windows. I have only tested Linux and Windows/MinGW, so there is no guarantee for any other system. +There is no support for automatic builds without MinGW on Windows. I have only tested Linux, MacOS/X and Windows/MinGW, so there is no guarantee for any other system. Unixoid systems:
make rule

@@ -69,24 +69,7 @@ Unixoid systems:
Windows with MinGW:
mingw32-make rule

-If you omit the rule parameter make will do a complete build.

- -The following rules are available on Unixoid systems and Windows:
- - - - - -
RuleDescription
allcomplete build
servereverything that is necessary for the server
clientthe client
- -The following additional rules are available on Unixoid systems:
- - - - - - -
sdocsource documentation (not included in all), requires doxygen
installbuild and installs everything: server, client, documentation
install-clientbuild and installs the client
install-serverbuild and installs the server components
install-docbuild and installs documentation (including source documentation)
+If you omit the rule parameter make will tell you which rules exist.

For the install targets the makefile assumes per default that everything belongs into sub-directories of /usr/local. You can change this by adding a PREFIX variable to the call, like this:
make -f Makefile.unix PREFIX=$HOME/magicsmoke install