Hi Jason,

Jason Stewart <[EMAIL PROTECTED]> writes:

> Ah, thanks for explaining. I do *not* want swig/ built by default.

Ok, then I removed swig from the SUBDIRS list.

> It is only intended for people who want to install the perl bindings
> - I need help learning how to put a xerces-p: target in the
> Makefile.am - and for running the test-suite.

You can write normal Makefile rules in Makefile.am. You can use
the existing test-suite target found in the top-level Makefile.am
as a starting point. While you can easily create, targets such
as xerces-p (to build) xerces-c-check (to test), and xerces-c-install
(install), other targets such as clean, distclean, and dist should
work throughout the distribution which might be more tricky. I
suggest that you check the Automake documentation to find out how
to this:

http://sources.redhat.com/automake/automake.html

For example, reading Section 13, "What Gets Cleaned", it appear that
you can use the clean-local and distclean-local to connect makefiles
in swig, something along these lines:

clean-local:
        $(MAKE) -C swig clean


Boris

-- 
Boris Kolpackov, Code Synthesis Tools
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to