diff options
author | ceros7 <ceros7@svn> | 2010-05-09 07:29:35 +0000 |
---|---|---|
committer | ceros7 <ceros7@svn> | 2010-05-09 07:29:35 +0000 |
commit | e51acb495ad09ec0451c68104fd9dc16f9c4029e (patch) | |
tree | e5e7a7ea1e04446f07665b6c40a69f1ea1e56dc3 /Makefile.include.in | |
parent | 9dc97e9768bbc7295d0ffaca9fdc58d6c99e8cc3 (diff) |
Allow the installation of files to be more configurable. Also fix the installation of certain files.
This still forces files in libdir to be installed in datarootdir
(i.e. $(prefix)/share) instead.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29946 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'Makefile.include.in')
-rw-r--r-- | Makefile.include.in | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Makefile.include.in b/Makefile.include.in index 58db900d79..0d7f7946e0 100644 --- a/Makefile.include.in +++ b/Makefile.include.in @@ -5,6 +5,26 @@ SHELL=/bin/bash ARCH=@ARCH@ abs_top_srcdir=@abs_top_srcdir@ prefix=@prefix@ +exec_prefix=@exec_prefix@ +bindir=@bindir@ +sbindir=@sbindir@ +libexecdir=@libexecdir@ +sysconfdir=@sysconfdir@ +sharedstatedir=@sharedstatedir@ +localstatedir=@localstatedir@ +libdir=@datarootdir@ +includedir=@includedir@ +oldincludedir=@oldincludedir@ +datarootdir=@datarootdir@ +datadir=@datadir@ +infodir=@infodir@ +localedir=@localedir@ +mandir=@mandir@ +docdir=@docdir@ +htmldir=@htmldir@ +dvidir=@dvidir@ +pdfdir=@pdfdir@ +psdir=@psdir@ CXX=@CXX@ CC=@CC@ CXXFLAGS+=@CXXFLAGS@ @@ -18,7 +38,7 @@ DEFINES+= \ -D_REENTRANT \ -D_LARGEFILE64_SOURCE \ -D_FILE_OFFSET_BITS=64 \ - -DINSTALL_PATH="\"@prefix@/share/xbmc\"" \ + -DINSTALL_PATH="\"$(datarootdir)/xbmc\"" \ @SDL_DEFINES@ \ @ARCH_DEFINES@ \ @DEFS@ \ |