Commit 50723467 authored by Daniel Armbruster's avatar Daniel Armbruster Committed by thomas.forbriger
Browse files

corrections to build any2matlab with different OS (lsb_release); correction of doc

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.

SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3929
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent d45400e8
...@@ -58,7 +58,6 @@ ...@@ -58,7 +58,6 @@
* \section revision Revision * \section revision Revision
* - 01/07/2010 V1.0 Daniel Armbruster * - 01/07/2010 V1.0 Daniel Armbruster
* - 30/09/2010 V1.1 introduced option 'int' * - 30/09/2010 V1.1 introduced option 'int'
* <hr> * <hr>
* *
* \section requirements Requirements * \section requirements Requirements
......
...@@ -2,23 +2,24 @@ this is <README.install> ...@@ -2,23 +2,24 @@ this is <README.install>
============================================================================ ============================================================================
install any2matlab package install any2matlab package
-------------------- --------------------
$Id: $ $Id$
============================================================================ ============================================================================
This file tells how to manage an installation of a downloaded any2matlab This file tells how to manage an installation of a downloaded any2matlab
package. If you finished extracting the package first you have to read the file package. If you finished extracting the package first you have to read the file
README.compile. It's quite important to set the corresponding variables README.compile. It's quite important to set the environment variables
correctly. correctly.
Then you have to be sure that you are located correctly, exactly in a directory Next you have to be sure that you are located correctly, exactly in a directory
named named
any2matlabYYYYMMDD any2matlabYYYYMMDD
If not you have to go to this directory to continue with your installation. The capital letters YYYYMMDD are representing the date when the package was
There you will find a Makefile called Makefile.package which was used as well to built. If you aren't located correctlty you have to change into this directory
build this package. to continue with your installation.
The next step is quite easy because the only thing you have to do (if all The next step is quite easy because the only thing you have to do (if all
variables are set correctly and properly) is to execute the following command: environment variables are set correctly and properly) is to execute the
following command:
./install.sh ./install.sh
...@@ -32,12 +33,12 @@ or ...@@ -32,12 +33,12 @@ or
mexglx for x86. mexglx for x86.
A manual for any2matlab.* as well as a more detailed installation guide you will A manual for any2matlab.*, called installDoc.pdf, as well as a more detailed
find in <path to the extracted any2matlab package>/src/texts/installDoc/. It's a installation guide you will find in
latex file delivered with a Makefile to create a *.pdf-document. <path to the extracted any2matlab package>/src/texts/installDoc/.
There is as well a doxygen documentation for any2matlab in There is as well a doxygen documentation for any2matlab in
<path to the extracted any2matlab package>/doc/any2matlab/. This documentation <path to the extracted any2matlab package>/doc/any2matlab/ available. This
contains information which fileformats can be read with any2matlab and how to documentation contains information which fileformats can be read with any2matlab
operate with the program. and how to operate with the program.
----- END OF README.install ----- ----- END OF README.install -----
...@@ -17,8 +17,9 @@ ...@@ -17,8 +17,9 @@
* *
* *
* \author Daniel Armbruster * \author Daniel Armbruster
* \version V1.2 * \version V1.1.1
* \date 01/07/2010 * \date 30/04/2011
* $Id$
* *
* ---- * ----
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
...@@ -37,10 +38,10 @@ ...@@ -37,10 +38,10 @@
* ---- * ----
* *
* REVISIONS and CHANGES * REVISIONS and CHANGES
* - 01/07/2010 V1.0 Daniel Armbruster * - 01/07/2010 V1.0 Daniel Armbruster
* - 30/09/2010 V1.1 introduced option 'int' * - 30/09/2010 V1.1 introduced option 'int'
* - 30/04/2011 V1.2 bug fixing and addaption of documentation to the new * - 30/04/2011 V1.1.1 bug fixing and addaption of documentation to the new
* package mechanism * package mechanism
* *
* \section general General * \section general General
* *
......
...@@ -16,8 +16,20 @@ ...@@ -16,8 +16,20 @@
# 19/03/2011 V1.3 moved README.1st and README.compile # 19/03/2011 V1.3 moved README.1st and README.compile
# install.sh now checks return status of commands # install.sh now checks return status of commands
# install.sh now can be executed from anywhere # install.sh now can be executed from anywhere
# 05/05/2011 V1.4 uses grep instaed of finger; supports more # 05/05/2011 V1.4 uses grep instead of finger; supports more
# Linux distributions when looking for release file # Linux distributions when looking for release file
# 11/05/2011 V1.5 uses the program lsb_release to print distribution
# specific information.
#
#----------------------------------------------------------------------
# Notice
# ------
# 1) The file README.system contains distribution specific information
# which is read using the program lsb_release. If this program isn't installed
# on your system under the point "Operating system:" no reasonable information
# will be listed.
#
#
# #
#---------------------------------------------------------------------- #----------------------------------------------------------------------
# #
...@@ -248,7 +260,7 @@ $(TMPPATH)/README.system: ...@@ -248,7 +260,7 @@ $(TMPPATH)/README.system:
echo -e "\nHost and kernel:" >> $@ echo -e "\nHost and kernel:" >> $@
uname -a 2>&1 >> $@ uname -a 2>&1 >> $@
echo -e "\nOperating system:" >> $@ echo -e "\nOperating system:" >> $@
cat /etc/*-rel* 2>&1 >> $@ -lsb_release -a 2>&1 >> $@
echo -e "\nCompilers:" >> $@ echo -e "\nCompilers:" >> $@
(echo -n "$(CC): "; $(CC) --version) 2>&1 | head -1 >> $@ (echo -n "$(CC): "; $(CC) --version) 2>&1 | head -1 >> $@
(echo -n "$(CXX): "; $(CXX) --version) 2>&1 | head -1 >> $@ (echo -n "$(CXX): "; $(CXX) --version) 2>&1 | head -1 >> $@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment