Changeset 3133


Ignore:
Timestamp:
Nov 24, 2013, 2:06:28 AM (8 years ago)
Author:
Peter
Message:

yat-config: mention that YAT_CBLAS_LIB is overideable; doxygen docs: prefer quotation like 'this', remove trailing WS, and give an easy example using yat-config in Makefile with default rules.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/build_support/yat-config.in

    r3111 r3133  
    7575  --version-minor             print @PACKAGE@'s MINOR version
    7676  --version-patch             print @PACKAGE@'s PATCH version
    77   --help                      print this help
     77  --help                      print this help and exit
     78
     79An alternative CBLAS library can be specified using the YAT_CBLAS_LIB
     80environment variable. The CBLAS library detected during configuration
     81is used by default (@YAT_CBLAS_LIB@).
    7882
    7983Report bugs to <@PACKAGE_BUGREPORT@>.
  • trunk/doc/build_tool.doxygen

    r2608 r3133  
    22//
    33// Copyright (C) 2008 Jari Häkkinen, Peter Johansson
    4 // Copyright (C) 2009, 2010, 2011 Peter Johansson
     4// Copyright (C) 2009, 2010, 2011, 2013 Peter Johansson
    55//
    66// This file is part of the yat library, http://dev.thep.lu.se/yat
     
    2727The \c yat-config script provides information on the local version of
    2828the library. For instance the following command shows that yat was
    29 installed at prefix \c `/usr/local'
     29installed at prefix \c '/usr/local'
    3030
    31 \verbatim 
     31\verbatim
    3232 #> yat-config --prefix
    3333/usr/local
     
    4848all: $(BIN)
    4949
    50 $(BIN): $(OBJECTS) 
     50$(BIN): $(OBJECTS)
    5151  $(CXX) $(LDFLAGS) $(OBJECTS) -o $(BIN) $(LIBS)
    5252
     
    5757\endverbatim
    5858
     59or if you are using <a href="http://www.gnu.org/software/make/">GNU
     60Make</a> and prefer using default rules, you can use \c yat-config with
     61
     62\verbatim
     63CPPFLAGS = `yat-config --cppflags`
     64CXXFLAGS = `yat-config --cxxflags`
     65LDFLAGS = `yat-config --ldflags --libs`
     66
     67all: foo
     68\endverbatim
     69
    5970From yat 0.6 an alternative \c CBLAS library can be specified using \c
    6071YAT_CBLAS_LIB environment variable. By default the \c CBLAS library
    6172detected during configuration of yat is used.
    6273
    63 For further information on yat-config use \c `yat-config \c --help'
     74For further information on yat-config use \c 'yat-config \c --help'
    6475
    6576\since New in yat 0.5
     
    6778\section macro Autoconf Macro
    6879
    69 For applications using autoconf there is a macro available in \c
    70 yat.m4. The macro can be called from your \c configure.ac:
     80For applications using <a href="http://www.gnu.org/software/make/">GNU
     81Autoconf</a> there is a macro available in \c yat.m4. The macro can be
     82called from your \c configure.ac:
    7183
    72 \verbatim 
    73 YAT_CHECK_YAT([minimum-version=0.5], [action-if-found], [action-if-not-found]) 
     84\verbatim
     85YAT_CHECK_YAT([minimum-version=0.5], [action-if-found], [action-if-not-found])
    7486\endverbatim
    7587
Note: See TracChangeset for help on using the changeset viewer.