install headers into arabica subdirectory

This commit is contained in:
jez User 2009-11-21 22:08:41 +00:00
parent 2eba62942a
commit d07f81a3d5
2 changed files with 7 additions and 7 deletions

View file

@ -5,22 +5,22 @@ SUBDIRS= src examples tests
install-data-local: install-data-local:
@echo "------------------------------------------------------------" @echo "------------------------------------------------------------"
@echo "Installing include files to $(includedir)" @echo "Installing include files to $(pkgincludedir)"
@echo "------------------------------------------------------------" @echo "------------------------------------------------------------"
for inc in `cd $(srcdir)/include && find . -type f -print | grep -v \.svn`; \ 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 done
$(INSTALL_HEADER) "$(top_builddir)/include/SAX/ArabicaConfig.hpp" "$(includedir)/SAX" $(INSTALL_HEADER) "$(top_builddir)/include/SAX/ArabicaConfig.hpp" "$(pkgincludedir)/SAX"
uninstall-local: uninstall-local:
@echo "------------------------------------------------------------" @echo "------------------------------------------------------------"
@echo "Removing include files from $(includedir)" @echo "Removing include files from $(pkgincludedir)"
@echo "------------------------------------------------------------" @echo "------------------------------------------------------------"
for inc in `cd $(srcdir)/include && find . -type f -print | grep -v \.svn`; \ for inc in `cd $(srcdir)/include && find . -type f -print | grep -v \.svn`; \
do rm -rf "$(includedir)/$$inc"; \ do rm -rf "$(pkgincludedir)/$$inc"; \
done done
for dir in `cd $(srcdir)/include && find . -type d -print | grep -v \.svn`; \ for dir in `cd $(srcdir)/include && find . -type d -print | grep -v \.svn`; \
do rm -rf "$(includedir)/$$dir"; \ do rm -rf "$(pkgincludedir)/$$dir"; \
done done
DIST_SUBDIRS= src examples tests DIST_SUBDIRS= src examples tests

View file

@ -1,7 +1,7 @@
prefix=@prefix@ prefix=@prefix@
exec_prefix=@exec_prefix@ exec_prefix=@exec_prefix@
libdir=@libdir@ libdir=@libdir@
includedir=@includedir@ includedir=@includedir@/arabica
Name: Arabica Name: Arabica
Version: @VERSION@ Version: @VERSION@