Ignore:
Timestamp:
Jan 6, 2009, 5:42:41 PM (14 years ago)
Author:
Peter
Message:

Add support for using uninstalled yat-config. Options --cppflags and
--link-libtool now work prior installation. --ldflags is not supported
because I'm not sure how to link against unistalled library and user
should be advised to use libool anyway.

refs #428

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build_support/Makefile.am

    r1696 r1697  
    33## $Id$
    44
    5 # Copyright (C) 2008 Peter Johansson
     5# Copyright (C) 2008 2009 Peter Johansson
    66#
    77# This file is part of the yat library, http://dev.thep.lu.se/yat
     
    6060  -e 's|@YAT_LIBNAME[@]|$(YAT_LIBNAME)|g' \
    6161  -e 's|@gsl_version[@]|$(gsl_version)|g' \
     62  -e 's|@abs_top_srcdir[@]|$(abs_top_srcdir)|g' \
     63  -e 's|@abs_top_builddir[@]|$(abs_top_builddir)|g' \
    6264  -e 's|@boost_version[@]|$(boost_version)|g'
    6365
     
    7981  @mv $@.tmp $@
    8082  @$(ECHO) creating $@
     83
     84install-exec-hook:
     85  $(SED) -i 's|installed=no|installed=yes|g' \
     86  $(DESTDIR)/$(bindir)/yat-config
Note: See TracChangeset for help on using the changeset viewer.