took me nearly 2 years to find the way to not build in SUBDIRS before
the current dir. Did I said previously how I hate auto* (but still love
it when it works :-)
Daniel
diff --git a/ChangeLog b/ChangeLog
index 074f4a6..b2f0b61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Jan 22 23:42:17 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
+
+	* Makefile.am example/Makefile.am: finally found the trick
+	  to build the example, i.e. add "." in SUBDIRS before example
+	  in the list <grin/>
+
 Mon Jan 22 16:30:37 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
 
 	* doc/xml.html: updated with an XSLT section, removed pointer to
diff --git a/Makefile.am b/Makefile.am
index c9833c6..55ce401 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-SUBDIRS = include doc
+SUBDIRS = . include doc example
 
 INCLUDES = -I@srcdir@/include -I./include @Z_CFLAGS@ @CORBA_CFLAGS@ 
 
diff --git a/example/Makefile.am b/example/Makefile.am
index ce7a8da..45429f3 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -6,9 +6,3 @@
 
 LDADD = $(top_builddir)/libxml.la @Z_LIBS@
 
-$(srcdir)/libxml:
-	-$(RM) $(srcdir)/libxml
-	ln -s $(srcdir)/. $(srcdir)/libxml
-
-$(top_builddir)/libxml.la: $(srcdir)/libxml
-	(cd .. ; $(MAKE))