summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2012-08-09Various "make distcheck" and other fixesDaniel Richard G1-5/+8
Makefile.am: * Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed variables in Makefile.am files * Touch these *.xml/*.syms files in the "dist-hook" target to prevent them from being regenerated, because the "make dist" process in itself updates the timestamps of the source files when it copies them into $(distdir) * Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required dependency when client applications link against -lxslt (note that the definition of EXTRA_LIBS has been changed; see below) * Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU Make programs autogen.sh: * Add --warnings=all options to automake and autoconf invocations, to better catch potential problems (most of which I've fixed in this patch) configure.in: * Replaced obsolete macros with their current equivalents; for reference, see http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html (I removed AC_ISC_POSIX outright because the doc states it is no longer useful) * test(1) uses "=" as an operator, not "==" * Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors * Don't add redundant libraries to EXTRA_LIBS, because (1) this variable already contains LibXSLT's own additional system-library deps, and is useful in that form, and (2) the LibXML2 deps are already handled by Libtool * Don't delete files in srcdir, and don't create the symlink to "Copyright" there either (I don't understand why this is being symlinked in the first place...) doc/Makefile.am: * Can't use wildcards in EXTRA_DIST, because this breaks dependencies (e.g. you can't "make EXSLT/\*.html"), and they only work properly when building inside the source tree; these have been replaced with their expansions. Other entries have been added here in lieu of the wildcards in the dist-hook target, as well as opportunistic use of the $(*PAGES) variables. * Don't define an "all" target, because this steps on Automake's toes; use "all-local" instead * Define and use an "xsltproc" variable to reference an in-tree-built version of xsltproc, instead of e.g. $(bindir)/xsltproc NOTE: The makefile also uses $(XSLTPROC), which names an external instance of the program found at configure time. Some instances of this could probably be changed to $(xsltproc) to remove the dependency on an existing installed program. * Qualified various filenames as appropriate with $(srcdir) * Use $(XMLLINT) consistently instead of $(bindir)/xmllint * In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking apibuild.py as this script has to run in srcdir anyway * In the "clean-local" rule, clear out some additional files to allow "make distcheck" to pass * Eliminated the redundant "maintainer-clean-local" rule * Added a "distclean-local" rule to clear out the build directory in an out-of-source build to allow "make distcheck" to pass * Added a "check-extra-dist" target to make it easier to check that EXTRA_DIST isn't missing anything * Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete * Use $(VAR) instead of @VAR@ * The "dist-hook" target didn't work (if any generated files were in builddir and not in srcdir), and is no longer needed thanks to the comprehensive EXTRA_DIST variable * Added an "uninstall-local" rule to allow "make distcheck" to pass * Updated the .PHONY target list, removed non-existent targets doc/symbols.xml: * Needed to add this bit to make the generation scripts shut up libexslt/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS (Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake already references both in the build rules) * Use $(VAR) instead of @VAR@ libxslt.pc.in: * Add EXTRA_LIBS (-lrt on my system), as this is a required dependency when client applications link against -lxslt libxslt/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS * Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs) * Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete libxslt/xsltutils.c: * Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about CLOCK_HIGHRES. Some systems, alas, have no usable alternative to CLOCK_REALTIME. python/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS * Because libxslt-py.c is (presumably) supposed to be generated every time at build time, don't bundle it in the dist tarball * Use $(VAR) instead of @VAR@ * libxsltclass.py is a generated file, so it doesn't get qualified with $(srcdir) * Use $(MKDIR_P) instead of (mkinstalldirs) * Added an uninstall-local rule so that "make distcheck" passes * Removed the $(srcdir) qualifications in the GENERATED file list, as these files may exist in builddir * In the gen_prog rule, qualify the script invocation with $(srcdir), and set the SRCDIR environment variable so that the script can find the files it needs when builddir != srcdir * Don't define an "all" target, as this steps on Automake's toes python/generator.py: * Get the source directory from the SRCDIR environment variable, and use it appropriately python/tests/Makefile.am: * Set CLEANFILES instead of defining a "clean" rule * Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs) tests/*/Makefile.am, tests/exslt/*/Makefile.am: * Need to clean up .memdump files for "make distcheck" to pass * Don't define an "all" target, as this steps on Automake's toes tests/REC/Makefile.am: * Added two missing *.stand.out files to EXTRA_DIST tests/XSLTMark/Makefile.am: * Replaced the GNU-Make-specific %.out bit with a more broadly compatible rule (the "dummy" bit shuts up Automake) * Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc" * Use a less $(MAKE)-heavy invocation in the "tests" target * Replaced a conflicting "clean" target with CLEANFILES * Added a dependency on $(xsltproc) to all the test targets * Added a .PHONY target list tests/docbook/Makefile.am: * Ditched the "echo -n" bit, because it wasn't working as advertised * Create output directories for out-of-source builds * "$(basename $$i)" is a typo in a makefile * Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can refer to these files in builddir or srcdir * Add a trailing "echo" to complete the "echo -n" * Don't output files unconditionally to srcdir (it may be read-only, for starters) tests/plugins/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name (Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here can be dropped entirely, because these already appear in xmlsoft_org_xslt_testplugin_la_CFLAGS) * Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin if module support is disabled) * Need to clean up *.res files for "make distcheck" to pass * Use the abs_builddir variable conveniently provided to us by Automake instead of a GNU Make $(shell ...) construct xslt-config.in: * Add EXTRA_LIBS (-lrt on my system), as this is a required dependency when client applications link against -lxslt xsltproc/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) into AM_CFLAGS * Use $(VAR) instead of @VAR@ * Need to clean .memdump for "make distcheck" to pass * Added rules to build lib[e]xslt.la if needed, which allows test makefiles to build xsltproc on the fly even if nothing else has been built already * Create .memdump file in the "tests" target, as it's being grepped afterward
2009-08-14Adding a test program to check thread reentrancyDaniel Veillard1-0/+2
* xsltproc/testThreads.c: based loosely on libxml2 one, checks concurrent use of the same stylesheet and extensions reentrancy * config.h.in configure.in: we need to check for pthreads * Makefile.am xsltproc/Makefile.am: add the new program and insert in make check
2007-03-27apply patch fron Shaun McCance to hook xsl:message construct to the newDaniel Veillard1-1/+1
* libxslt/xsltutils.c: apply patch fron Shaun McCance to hook xsl:message construct to the new per-xsltTransformCtxt error callback if set up. * Makefile.am: do not package svn files in releases Daniel svn path=/trunk/; revision=1424
2004-09-24add missing variable fixed some error callback data added new date:sumDaniel Veillard1-0/+2
* Makefile.am: add missing variable * libxslt/transform.c: fixed some error callback data * tests/exslt/date/Makefile.am tests/exslt/date/sum*: added new date:sum testing from Derek Poon Daniel
2004-08-20a bit of cleanup and a extra variable for CVS dist DanielDaniel Veillard1-1/+2
* Makefile.am configure.in: a bit of cleanup and a extra variable for CVS dist Daniel
2004-06-29seems I never commited to CVS the example from Richard Jinks DanielDaniel Veillard1-1/+1
* Makefile.am examples/xsltICUSort.c: seems I never commited to CVS the example from Richard Jinks Daniel
2004-03-06Major enhancement to "make tests". All but Python tests cleaned up toWilliam M. Brack1-2/+3
* Makefile.am, tests/Makefile.am, tests/REC/Makefile.am, tests/REC1/Makefile.am, tests/REC2/Makefile.am, tests/XSLTMark/Makefile.am, tests/docbook/Makefile.am, tests/exslt/common/Makefile.am, tests/exslt/date/Makefile.am, tests/exslt/functions/Makefile.am, tests/exslt/math/Makefile.am, tests/exslt/sets/Makefile.am, tests/exslt/strings/Makefile.am, tests/extensions/Makefile.am, tests/general/Makefile.am, tests/keys/Makefile.am, tests/multiple/Makefile.am, tests/namespaces/Makefile.am, tests/numbers/Makefile.am, tests/reports/Makefile.am, test/xmlspec/Makefile.am, tests/general/bug-60.err, tests/docbook/result/html/gdp-handbook.err, tests/REC/test-2.5-1.err: Major enhancement to "make tests". All but Python tests cleaned up to produce minimum summary output if no problems. * tests/general/bug-145.xsl, tests/general/bug-145.err, tests/docs/Makefile.am, tests/docs/bug-145.xml: Added test case for bugzilla bug 135938
2003-11-19fixed a bug in the keys selector parsing #120684 when | is in a predicateDaniel Veillard1-1/+4
* libxslt/keys.c: fixed a bug in the keys selector parsing #120684 when | is in a predicate or a string. * tests/docs/Makefile.am tests/docs/bug-132.xml tests/general/Makefile.am tests/docs/bug-132*: added tests to the regression suite for bug #120684. * Makefile.am: don't package cvs temp files * doc/apibuild.py: update from libxml2 one Daniel
2003-11-14adding libexslt.pc support DanielDaniel Veillard1-1/+1
* Makefile.am configure.in libexslt.pc.in libxslt.spec.in: adding libexslt.pc support Daniel
2003-11-02some cleanup and trial for the upcoming 1.1.0 release this release removesDaniel Veillard1-13/+1
* Makefile.am configure.in libxslt.spec.in doc/libxslt-api.xml libxslt/xslt.h libxslt/xsltwin32config.h: some cleanup and trial for the upcoming 1.1.0 release * breakpoint/*: this release removes the deprecated breakpoint library Daniel
2003-09-18small fixes w.r.t. IS_XSLT_REAL_NODE change some makefile "distclean"Daniel Veillard1-0/+2
* libxslt/functions.c libxslt/numbers.c: small fixes w.r.t. IS_XSLT_REAL_NODE change * python/Makefile.am Makefile.am: some makefile "distclean" target improvement from Graham Wilson * xsltproc/xsltproc.c: small fix from Alexey Efimov for options display. Daniel
2002-11-08integrated libxslt.m4 written by Thomas Schraitle (RFE #96485) DanielDaniel Veillard1-1/+5
* Makefile.am libxslt.m4 libxslt.spec.in: integrated libxslt.m4 written by Thomas Schraitle (RFE #96485) Daniel
2002-10-23cleaned up the spec file and associated changes in the Makefiles. DanielDaniel Veillard1-1/+1
* Makefile.am libxslt.spec.in doc/Makefile.am: cleaned up the spec file and associated changes in the Makefiles. Daniel
2002-09-23set-up DIST_SUBDIRS to avoid the same problem Jacob reported for libxml2Daniel Veillard1-3/+5
* Makefile.am: set-up DIST_SUBDIRS to avoid the same problem Jacob reported for libxml2 Daniel
2002-03-19added "make valgrind" targets to run the test suite under the debuggerDaniel Veillard1-0/+5
* Makefile.am tests/Makefile.am tests/*/Makefile.am tests/*/*/Makefile.am : added "make valgrind" targets to run the test suite under the debugger control * transform.c: valgrind spotted 2 bugs, one related to the ordering of the deallocation of the data associated to a transofrmation, the second in xsltCopyTree when the new node may have been coalesced with an adjacent text node. The regression tests now pass cleanly under testgrind. Daniel
2002-02-08change the Licence to MIT Licence and release of 1.0.11 updates of theDaniel Veillard1-1/+1
* Copyright Makefile.am configure.in libxslt.spec.in: change the Licence to MIT Licence and release of 1.0.11 * doc/FAQ.html doc/intro.html doc/libxslt-decl.txt doc/news.html doc/xslt.html: updates of the docs accordingly * libxslt/xsltwin32config.h: numbering * python/generator.py python/libxml_wrap.h python/libxsltclass.txt python/libxslt-python-api.xml: cleanup the dependancies with libxml2 * python/tests/extfunc.py: updated examples. Daniel
2002-02-07small fix cleanup avoid a problem with $(TESTS) augmented the wrappersDaniel Veillard1-2/+3
* xsltproc/xsltproc.c: small fix * Makefile.am: cleanup * python/tests/Makefile.am: avoid a problem with $(TESTS) * python/generator.py python/libxml_wrap.h python/libxsl.py python/libxslt.c python/libxsltclass.txt: augmented the wrappers * python/tests/pyxsltproc.py: rewrote xsltproc on top of the libxslt-python API to get an estimate of what is missing Daniel
2002-02-06refactored make tests, make all now don't run the test suite added testsDaniel Veillard1-1/+2
* Makefile.am configure.in tests/Makefile.am tests/*/Makefile.am tests/*/*/Makefile.am: refactored make tests, make all now don't run the test suite * python/Makefile.am: added tests * python/tests/basic.py python/tests/Makefile.am: added the first basic test, memory debug included Daniel
2002-02-04reactivated xsltMatchPattern() since this is really something one may wantDaniel Veillard1-4/+6
* libxslt/pattern.[ch] doc/libxslt-api.xml doc/libxslt-refs.xml: reactivated xsltMatchPattern() since this is really something one may want to have access to in an extension function. * Makefile.am configure.in python/Makefile.am python/generator.py python/libxml_wrap.h python/libxsl.py python/libxslt-python-api.xml python/libxslt.c python/libxslt_wrap.h python/libxsltclass.txt python/types.c: started working on the python bindings, borrowed most of the work done for libxml2, most of the generator code is similar. Commit at the point where this compiles cleanly and "import libxslt" doesn't yield any missing entry point. Daniel
2002-01-17applied Robert Collins patch for Cygwin support DanielDaniel Veillard1-1/+1
* Makefile.am libexslt/common.c libexslt/date.c libexslt/exslt.c libexslt/exslt.h libexslt/exsltconfig.h.in libexslt/functions.c libexslt/libexslt.h libexslt/math.c libexslt/saxon.c libexslt/sets.c libexslt/strings.c libxslt/libxslt.h libxslt/xslt.h libxslt/xsltconfig.h.in libxslt/xsltutils.c xsltproc/xsltproc.c: applied Robert Collins patch for Cygwin support Daniel
2001-12-20added pkg-config file from Rodrigo Moya DanielDaniel Veillard1-0/+2
* libxslt.pc.in configure.in: added pkg-config file from Rodrigo Moya Daniel
2001-11-26updating Makefiles to fix the prelinking. DanielDaniel Veillard1-1/+11
* Makefile.am configure.in breakpoint/Makefile.am libexslt/Makefile.am: updating Makefiles to fix the prelinking. Daniel
2001-11-13included OpenVMS port instructions from John A Fotheringham, integrated inDaniel Veillard1-1/+1
* vms/* Makefile.am: included OpenVMS port instructions from John A Fotheringham, integrated in the tar file. Daniel
2001-11-05Applied Keith Isdale patch for the debugger support, make it the default,Daniel Veillard1-0/+1
* Makefile.am acconfig.h config.h.in configure.in xsltproc/Makefile.am breakpoint/* libxslt/transform.[ch] libxslt/xsltconfig.h.in: Applied Keith Isdale patch for the debugger support, make it the default, added the WITH_XSLT_DEBUGGER define to xsltconfig.h.in, small cleanups Daniel
2001-08-18fixed a number of small problems with Makefiles spotted by Albert ChinDaniel Veillard1-1/+1
* //Makefile.am : fixed a number of small problems with Makefiles spotted by Albert Chin Daniel
2001-08-15release of 1.0.2 cleaning of Makefiles pointed out by make distcheckDaniel Veillard1-2/+4
* Makefile.am config.h.in configure.in libxslt/xsltwin32config.h: release of 1.0.2 * tests/docs/Makefile.am libexslt/Makefile.am tests/documents/Makefile.am tests/general/Makefile.am xsltproc/Makefile.am: cleaning of Makefiles pointed out by make distcheck Daniel
2001-08-03this got fixed by libxml patches Applied Igor Zlatkovic Win32 FaceliftDaniel Veillard1-3/+4
* tests/general/bug-21-.out tests/general/bug-31-.out: this got fixed by libxml patches * win32/readme.msvc win32/dsp/* xsltproc/xsltproc.c Makefile.am libexslt/exslt.[ch] libexslt/exsltconfig.h.in libexslt/functions.c libexslt/math.c libxslt/win32config.h libxslt/xsltconfig.h.in libxslt/xsltutils.h libxslt/xsltwin32config.h libxslt/xsltwin32config.h.in: Applied Igor Zlatkovic Win32 Facelift No.2 patch, and fixed a few things related to those changes. Daniel
2001-07-15Integrating EXSLT and cleanup:Daniel Veillard1-1/+3
* Makefile.am configure.in libexslt/Makefile.am: Integration of libexslt in the build system * libxslt/Makefile.am libxslt/xsltproc.c libxslt/xsltutils.c xsltproc/Makefile.am xsltproc/xsltproc.c: Moved xsltproc to a separate directory, linked it to libexslt, and added exslt version reports to -V * tests/*/Makefile.am: updated the path to xsltproc * libexslt/common.c libexslt/exslt.h libexslt/exsltconfig.h.in libexslt/functions.c libexslt/math.c libexslt/sets.c: added versionning informations, some cleanup, and added documentation to a couple of exported functions Daniel
2001-06-23- Makefile.am libxslt/Makefile.am libxslt/numbers.cDaniel Veillard1-2/+3
libxslt/win32config.h libxslt/xsltconfig.h.in libxslt/xsltproc.c: Patches for Windows mostly contributed by Yon Derek - win32/libxslt/libxslt.def win32/libxslt/libxslt.dsw win32/libxslt/libxslt_so.dsp win32/libxslt/xsltproc.dsp: Project file for Mircrosoft C provided by Yon Derek Daniel
2001-05-22- configure.in libxslt/Makefile.am: fixed bug #54953Daniel Veillard1-1/+3
- libxslt/attributes.c: cleanup pointed by Joe Orton - libxslt/xsltproc.c: added --catalogs to load catalogs from $SGML_CATALOG_FILES - libxslt/functions.c: cleanup unreached code - configure.in config.h.in libxslt/xsltproc.c: guarded the include with preprocessor definitions Daniel
2001-04-10- configure.in: released 0.7.0Daniel Veillard1-1/+1
- tests/XSLTMark/Makefile.am: trying to solve some make distcheck problems Daniel
2001-02-05- Copyright IPR Makefile.am: added some wording and a rewriteDaniel Veillard1-1/+1
of the W3C IPR but without giving Copyright rights to W3C, should suit everybody Daniel
2001-01-26Too tired to do some code, prepared documentation:Daniel Veillard1-1/+2
- Makefile.am configure.in doc/Makefile.am: added a doc subdir and the rules to generates the makefiles. - doc/libxslt.sgml doc/xslt.html: very first version of the manual - doc/html/*.html : autogenerated documentation - libxslt/xsltInternals.h: fixed a typedef wich was breaking gtk-doc Daniel
2001-01-24Lotsa improvement and fixes:Daniel Veillard1-1/+3
- libxslt/xsltInternals.h libxslt/pattern.c: fixed problems with non-named rules (*, ...) added accelerators - libxslt/templates.[ch]: added xsltEvalTemplateString() and xsltEvalAttrValueTemplate() high level functions - libxslt/transform.c: fixed the part where attributes had to be looked at as templates, added comment and PI generation - TODO FEATURES: updated to reflect the new state Daniel
2001-01-23Preparing for a not too distant alpha release:Daniel Veillard1-0/+5
- Makefile.am libxslt.spec.in tests/REC1/Makefile.am tests/REC2/Makefile.am: updated the makefiles and spec files to add tests, and the FEATURES file to the RPM Daniel
2001-01-22Setup stuff: - Makefile.am libxslt.spec.in libxslt/Makefile.amDaniel Veillard1-1/+2
Setup stuff: - Makefile.am libxslt.spec.in libxslt/Makefile.am tests/Makefile.am: prepared the Makefiles and spec files for a first release. - COPYING.LIB: added LGPL Licence Daniel
2001-01-21More work, cleanups, HTML output:Daniel Veillard1-1/+1
- Makefile.am tests/Makefile.am tests/REC1/Makefile.am tests/REC2/Makefile.am tests/REC2/html.xml: added tests target too, added the HTML output test - libxmls/xsltutils.c: added HTML output - libxslt/xslt.c: check version on literal result used as templates - libxslt/transform.c: fixed an error in VERSION number - libxslt/templates.c: make sure generated nodes have doc and parent properly set Daniel
2001-01-13More general work, added for-each:Daniel Veillard1-1/+2
- test/Makefile.am test/REC*/Makefile.am: added first test - libxslt/pattern.c libxslt/transform.c libxslt/xslt.c: cleanup of nodes at reading of stylesheet, added support for xsl:for-each and fixed a few recursion bugs Daniel
2001-01-07Initial revisionDaniel Veillard1-0/+29