mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-30 22:23:40 +01:00
50 lines
1.8 KiB
Makefile
50 lines
1.8 KiB
Makefile
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
SUBDIRS= src examples tests
|
|
|
|
install-data-local:
|
|
@echo "------------------------------------------------------------"
|
|
@echo "Installing include files to $(includedir)"
|
|
@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"; \
|
|
done
|
|
$(INSTALL_HEADER) "$(top_builddir)/include/SAX/ArabicaConfig.hpp" "$(includedir)/SAX"
|
|
|
|
uninstall-local:
|
|
@echo "------------------------------------------------------------"
|
|
@echo "Removing include files from $(includedir)"
|
|
@echo "------------------------------------------------------------"
|
|
for inc in `cd $(srcdir)/include && find . -type f -print | grep -v \.svn`; \
|
|
do rm -rf "$(includedir)/$$inc"; \
|
|
done
|
|
for dir in `cd $(srcdir)/include && find . -type d -print | grep -v \.svn`; \
|
|
do rm -rf "$(includedir)/$$dir"; \
|
|
done
|
|
|
|
DIST_SUBDIRS= src examples tests
|
|
EXTRA_DIST=vs7 \
|
|
vs8 \
|
|
vs9 \
|
|
doc \
|
|
include \
|
|
tests/XSLT/testsuite \
|
|
src/SAX/wrappers/saxexpat.cpp \
|
|
src/SAX/wrappers/saxlibxml2.cpp \
|
|
src/SAX/wrappers/saxxerces.cpp \
|
|
src/convert/impl/codecvt_specialisations.cpp
|
|
dist-hook:
|
|
find $(distdir) -print | grep \.svn | xargs rm -rf
|
|
find $(distdir) -print | grep \~$ | xargs rm -rf
|
|
rm $(distdir)/include/SAX/ArabicaConfig.hpp
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = arabica.pc
|
|
|
|
docs:
|
|
cd doc && doxygen arabica.dox
|
|
@echo "------------------------------------------------------------"
|
|
@echo "Generated documents to ./doc/html"
|
|
@echo "------------------------------------------------------------"
|
|
|