diff --git a/Makefile.am b/Makefile.am index da7e415c..81d66902 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,22 +5,22 @@ SUBDIRS= src examples tests install-data-local: @echo "------------------------------------------------------------" - @echo "Installing include files to $(includedir)" + @echo "Installing include files to $(pkgincludedir)" @echo "------------------------------------------------------------" for inc in `cd $(srcdir)/include && find . -type f -print | grep -v \.svn`; \ - do mkdir -p "`dirname \"$(includedir)/$$inc\"`"; $(INSTALL_HEADER) "$(srcdir)/include/$$inc" "$(includedir)/$$inc"; \ + do mkdir -p "`dirname \"$(pkgincludedir)/$$inc\"`"; $(INSTALL_HEADER) "$(srcdir)/include/$$inc" "$(pkgincludedir)/$$inc"; \ done - $(INSTALL_HEADER) "$(top_builddir)/include/SAX/ArabicaConfig.hpp" "$(includedir)/SAX" + $(INSTALL_HEADER) "$(top_builddir)/include/SAX/ArabicaConfig.hpp" "$(pkgincludedir)/SAX" uninstall-local: @echo "------------------------------------------------------------" - @echo "Removing include files from $(includedir)" + @echo "Removing include files from $(pkgincludedir)" @echo "------------------------------------------------------------" for inc in `cd $(srcdir)/include && find . -type f -print | grep -v \.svn`; \ - do rm -rf "$(includedir)/$$inc"; \ + do rm -rf "$(pkgincludedir)/$$inc"; \ done for dir in `cd $(srcdir)/include && find . -type d -print | grep -v \.svn`; \ - do rm -rf "$(includedir)/$$dir"; \ + do rm -rf "$(pkgincludedir)/$$dir"; \ done DIST_SUBDIRS= src examples tests diff --git a/arabica.pc.in b/arabica.pc.in index 49ac5566..251ed680 100644 --- a/arabica.pc.in +++ b/arabica.pc.in @@ -1,7 +1,7 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ -includedir=@includedir@ +includedir=@includedir@/arabica Name: Arabica Version: @VERSION@