Changeset 6514


Ignore:
Timestamp:
Aug 14, 2008, 10:35:11 AM (13 years ago)
Author:
muks
Message:

Respect non-standard install paths for web interface files

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/Makefile.am

    r6425 r6514  
    1 AM_CPPFLAGS = -I. -I$(top_srcdir) -I$(top_srcdir)/third-party/ -D__TRANSMISSION__ $(LIBEVENT_CPPFLAGS)
     1AM_CPPFLAGS = \
     2        -I. -I$(top_srcdir) -I$(top_srcdir)/third-party/ \
     3        -D__TRANSMISSION__ $(LIBEVENT_CPPFLAGS) \
     4        -DPACKAGE_DATA_DIR=\""$(datadir)"\"
     5
    26AM_CFLAGS = $(LIBCURL_CFLAGS) $(OPENSSL_CFLAGS) $(PTHREAD_CFLAGS)
    37
  • trunk/libtransmission/platform.c

    r6498 r6514  
    564564            s = getenv( "XDG_DATA_DIRS" );
    565565            if( !s || !*s )
    566                 s = "/usr/local/share/:/usr/share/";
     566                s =  PACKAGE_DATA_DIR ":/usr/local/share/:/usr/share/";
    567567            while( s && *s ) {
    568568                char * end = strchr( s, ':' );
Note: See TracChangeset for help on using the changeset viewer.