fixed a build problem in some environements Daniel
authorDaniel Veillard <veillard@src.gnome.org>
Sat, 9 Mar 2002 10:54:32 +0000 (10:54 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Sat, 9 Mar 2002 10:54:32 +0000 (10:54 +0000)
* doc/Makefile.am: fixed a build problem in some environements
Daniel

ChangeLog
doc/Makefile.am

index 147fb00..2f8fca9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Mar  9 11:53:39 CET 2002 Daniel Veillard <daniel@veillard.com>
+
+       * doc/Makefile.am: fixed a build problem in some environements
+
 2002-03-08  jacob berkman  <jacob@ximian.com>
 
        * python/Makefile.am (libxsltmodule_la_SOURCES): remove $(srcdir)
index 1bd57a1..b4baaaa 100644 (file)
@@ -27,7 +27,8 @@ all : $(PAGES)
 web: $(PAGES) $(APIPAGES)
 
 $(PAGES): $(srcdir)/xslt.html $(srcdir)/site.xsl
-       ../xsltproc/xsltproc --html $(srcdir)/site.xsl $(srcdir)/xslt.html > index.html
+       -@(if [ -x $(bindir)/xsltproc ] ; then \
+         $(bindir)/xsltproc --html $(srcdir)/site.xsl $(srcdir)/xslt.html > index.html ; fi )
 
 $(APIPAGES): libxslt-refs.xml site.xsl api.xsl
        -@(if [ -x $(bindir)/xsltproc ] ; then \