From aaff0e8c49ffe8f629e6828145be49d6748ee3b5 Mon Sep 17 00:00:00 2001 From: Joachim Reichel Date: Sat, 28 Apr 2007 17:04:31 +0000 Subject: [PATCH] improve help message after discussion with Daniel (reordering of options, rewording and reformmatting) --- Installation/install_cgal | 62 +++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/Installation/install_cgal b/Installation/install_cgal index c372bccc9f8..1acc9df8b76 100755 --- a/Installation/install_cgal +++ b/Installation/install_cgal @@ -172,7 +172,7 @@ LGPL_LICENSE_HEADER=\ print_usage_information() { - ${_printf} "%s\n" \ + ${_printf} "%s\n" \ "Usage: ${CGAL_INSTALL_CGAL} [OPTION]" ${_printf} "\n%s\n" \ "Basic options: @@ -185,7 +185,7 @@ print_usage_information() Do not build static archives, only the shared libraries. " - ${_printf} "\n\n%s\n" \ + ${_printf} "%s\n" \ "Environment variables: CXX Use \$CXX as the compiler instead of searching for one. CPPFLAGS,CXXFLAGS @@ -194,62 +194,62 @@ print_usage_information() LDFLAGS \$LDFLAGS are passed as command line arguments to the linker. The environment variables can be overridden using - --CXX - --CXXLFLAGS (for both CPPFLAGS and CXXFLAGS) - --LDFLAGS + --CXX , + --CXXLFLAGS (for both CPPFLAGS and CXXFLAGS) and + --LDFLAGS . " - ${_printf} "\n%s" \ + ${_printf} "%s" \ "External library management options: --without-autofind - Disable support for all external dependencies not, specified - explicitly using --with-PACKAGE + Disable support for all external dependencies not explicitly + specified using --with-PACKAGE. --with-PACKAGENAME - When using --without-autofind, use package PACKAGENAME + When using --without-autofind, use package PACKAGENAME. + PACKAGENAME is one of" for i in ${SUPPORT_PKGS}; do - ${_printf} " %s" "$i" + ${_printf} " %s" "$i" done + ${_printf} "\n\n%s\n" \ "Advanced options: --interactive or -i runs the script in interactive mode. Interactive mode can only be used for in place installations (ones where - the library is left in the CGAL-3.3/lib directory) + the library is left in the lib directory below install_cgal) except on Mac OS. - --CGAL_DIR - Specify an explicit path to use for the CGAL directory. This is - useful if \`pwd\` does not return the desired path to the CGAL - source. - --ostype_tag - Add this tag to the architecture/os/compiler specification. --PACKAGENAME_INCL_DIR - Add \"-I\" to the CPPFLAGS. See above for valid PACKAGENAMEs. + Add \"-I\" to CPPFLAGS. See above for valid PACKAGENAMEs. --PACKAGENAME_LIB_DIR Add \"-L\" to LDFLAGS. --upgrade or -u runs the script in upgrade mode. - Use this option, if you upgrade from a previously installed - CGAL and supply the directory where it is installed - on your system. - The config/install files are copied from there. + Use this option, if you upgrade from a previously installed + CGAL and supply the directory where it is installed on your + system. The config/install files are copied from there. --build-all - builds libraries for all compilers for which a + builds libraries for all compilers for which a config/install file exists. --rebuild-all - (re)builds compiler configuration files and libraries - for all compilers for which a config/install file - exists. + (re)builds compiler configuration files and libraries + for all compilers for which a config/install file exists. --build - builds libraries for the compiler specified by its + builds libraries for the compiler specified by its configuration file config/install/. + --rebuild + (re)builds the compiler configuration file and libraries + for the compiler specified by its configuration file + config/install/. + --ostype_tag + Add this tag to the architecture/os/compiler specification. -os prints the identifier for the configuration which uses the specified compiler. - --rebuild - (re)builds the compiler configuration file and libraries - for the compiler specified by its configuration file - config/install/. + --CGAL_DIR + Specify an explicit path to use for the CGAL directory. This + is useful if \`pwd\` does not return the desired path to the + CGAL source. --verbose Give report for each test that fails (not generally recommended). "