mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-26 21:58:39 +01:00
merged with mangle-dev branch
This commit is contained in:
parent
03c1fe4a4e
commit
8e653a8e6f
5 changed files with 40 additions and 29 deletions
12
Makefile.am
12
Makefile.am
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
SUBDIRS= src tests examples
|
SUBDIRS= src test examples
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
@echo "------------------------------------------------------------"
|
@echo "------------------------------------------------------------"
|
||||||
|
@ -22,7 +22,7 @@ uninstall-local:
|
||||||
do rm -rf "$(includedir)/$$dir"; \
|
do rm -rf "$(includedir)/$$dir"; \
|
||||||
done
|
done
|
||||||
|
|
||||||
DIST_SUBDIRS= src tests examples
|
DIST_SUBDIRS= src test examples
|
||||||
EXTRA_DIST=vs7 \
|
EXTRA_DIST=vs7 \
|
||||||
include \
|
include \
|
||||||
src/SAX/wrappers/saxexpat.cpp \
|
src/SAX/wrappers/saxexpat.cpp \
|
||||||
|
@ -37,6 +37,12 @@ pkgconfigdir = src/pkgconfig
|
||||||
pkgconfig_DATA = arabica.pc
|
pkgconfig_DATA = arabica.pc
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@cd tests && make test;
|
@cd test && make test;
|
||||||
@cd ..
|
@cd ..
|
||||||
|
|
||||||
|
docs:
|
||||||
|
doxygen doc/arabica.dox
|
||||||
|
@echo "------------------------------------------------------------"
|
||||||
|
@echo "Generated documents to ./doc/html"
|
||||||
|
@echo "------------------------------------------------------------"
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ libdir=@libdir@
|
||||||
includedir=@includedir@
|
includedir=@includedir@
|
||||||
|
|
||||||
Name: Arabica
|
Name: Arabica
|
||||||
Description: XML Parser Toolkit for C++
|
Version: @VERSION@
|
||||||
|
Description: Arabica XML Parser Toolkit for C++
|
||||||
Libs: -L${libdir} -larabica
|
Libs: -L${libdir} -larabica
|
||||||
Cflags:
|
Cflags: -I${includedir}
|
||||||
|
|
|
@ -3,11 +3,13 @@
|
||||||
<!ENTITY entity "poop">
|
<!ENTITY entity "poop">
|
||||||
]>
|
]>
|
||||||
|
|
||||||
|
<!-- here go -->
|
||||||
<pm:poem xmlns:pm="urn:example">
|
<pm:poem xmlns:pm="urn:example">
|
||||||
<pm:line>Roses are red,</pm:line>
|
<pm:line>Roses are red,</pm:line>
|
||||||
<pm:line>Violets are blue.</pm:line>
|
<pm:line>Violets are blue.</pm:line>
|
||||||
<pm:line>Sugar is sweet,</pm:line>
|
<pm:line>Sugar is sweet,</pm:line>
|
||||||
<pm:line>and I love you with a pm:line much longer than 15 characters long.</pm:line>
|
<pm:line>and I love you with a pm:line much longer than 15 characters long.</pm:line>
|
||||||
<pm:line>I am a line with an undefined :w entity.</pm:line>
|
<pm:line>I am a line with an undefined :w entity and an <.</pm:line>
|
||||||
<pm:line><![CDATA[ And I am CDATA ]]></pm:line>
|
<pm:line><![CDATA[ And I am CDATA ]]></pm:line>
|
||||||
</pm:poem>
|
</pm:poem>
|
||||||
|
<?all done?>
|
||||||
|
|
48
configure.ac
48
configure.ac
|
@ -1,17 +1,12 @@
|
||||||
AC_INIT(src/arabica.cpp)
|
AC_INIT([Arabica], [Jan07], [jez@jezuk.co.uk])
|
||||||
AC_CANONICAL_SYSTEM
|
|
||||||
AC_CONFIG_HEADERS(include/SAX/ArabicaConfig.h)
|
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE(arabica, Jan2007)
|
|
||||||
|
|
||||||
|
AM_INIT_AUTOMAKE
|
||||||
|
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
AM_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
|
|
||||||
AC_LANG_CPLUSPLUS
|
AC_LANG([C++])
|
||||||
|
|
||||||
|
|
||||||
ARABICA_HAS_BOOST([1.32])
|
|
||||||
ARABICA_WANT_DOM
|
|
||||||
ARABICA_SELECT_XML_PARSER
|
ARABICA_SELECT_XML_PARSER
|
||||||
ARABICA_HAS_EXPAT
|
ARABICA_HAS_EXPAT
|
||||||
ARABICA_HAS_LIBXML2
|
ARABICA_HAS_LIBXML2
|
||||||
|
@ -21,18 +16,25 @@ ARABICA_HAS_XML_PARSER
|
||||||
ARABICA_HAS_STD_WSTRING
|
ARABICA_HAS_STD_WSTRING
|
||||||
ARABICA_CHECK_CODECVT_SPECIALISATIONS
|
ARABICA_CHECK_CODECVT_SPECIALISATIONS
|
||||||
ARABICA_CHECK_SOCKETS
|
ARABICA_CHECK_SOCKETS
|
||||||
|
ARABICA_HAS_BOOST([1.33])
|
||||||
|
ARABICA_WANT_DOM
|
||||||
|
|
||||||
AC_OUTPUT(Makefile \
|
AC_CONFIG_HEADERS([include/SAX/ArabicaConfig.h])
|
||||||
arabica.pc \
|
AC_CONFIG_FILES([Makefile])
|
||||||
src/Makefile \
|
AC_CONFIG_FILES([arabica.pc])
|
||||||
tests/Makefile \
|
AC_CONFIG_FILES([src/Makefile])
|
||||||
tests/DOM/Makefile \
|
AC_CONFIG_FILES([tests/Makefile])
|
||||||
tests/SAX2DOM/Makefile \
|
AC_CONFIG_FILES([tests/Utils/Makefile])
|
||||||
tests/XPath/Makefile \
|
AC_CONFIG_FILES([tests/SAX/Makefile])
|
||||||
examples/Makefile \
|
AC_CONFIG_FILES([tests/DOM/Makefile])
|
||||||
examples/SAX/Makefile \
|
AC_CONFIG_FILES([tests/XPath/Makefile])
|
||||||
examples/DOM/Makefile \
|
AC_CONFIG_FILES([tests/XSLT/Makefile])
|
||||||
examples/Utils/Makefile \
|
AC_CONFIG_FILES([examples/Makefile])
|
||||||
examples/XPath/Makefile
|
AC_CONFIG_FILES([examples/Utils/Makefile])
|
||||||
)
|
AC_CONFIG_FILES([examples/SAX/Makefile])
|
||||||
|
AC_CONFIG_FILES([examples/DOM/Makefile])
|
||||||
|
AC_CONFIG_FILES([examples/XPath/Makefile])
|
||||||
|
AC_CONFIG_FILES([examples/XSLT/Makefile])
|
||||||
|
|
||||||
|
AC_OUTPUT
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue