- configure.in: released 0.7.0
authorDaniel Veillard <veillard@src.gnome.org>
Tue, 10 Apr 2001 10:11:06 +0000 (10:11 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Tue, 10 Apr 2001 10:11:06 +0000 (10:11 +0000)
- tests/XSLTMark/Makefile.am: trying to solve some make distcheck
  problems
Daniel

ChangeLog
Makefile.am
configure.in
tests/XSLTMark/Makefile.am

index 40c7dc1..1a8baff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Apr 10 12:10:25 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
+
+       * configure.in: released 0.7.0
+       * tests/XSLTMark/Makefile.am: trying to solve some make distcheck
+         problems
+
 Sun Apr  8 11:42:03 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
 
        * libxslt/functions.c libxslt/keys.c libxslt/transform.c:
index ea82138..af9dfa0 100644 (file)
@@ -34,6 +34,6 @@ test tests: dummy
 cleantar:
        @(rm -f libxslt*.tar.gz)
 
-rpm: cleantar distcheck
+rpm: cleantar dist
        rpm -ta libxslt*.tar.gz
 
index 1b9e54e..cbd4c6a 100644 (file)
@@ -1,6 +1,6 @@
 AC_INIT(libxslt/xslt.c)
 
-VERSION=0.6.0
+VERSION=0.7.0
 PACKAGE=libxslt
 
 AM_CONFIG_HEADER(config.h)
@@ -95,7 +95,7 @@ dnl
 dnl find libxml
 dnl
 XML_CONFIG="xml2-config"
-AC_MSG_CHECKING(for libxml libraries >= 2.3.5
+AC_MSG_CHECKING(for libxml libraries >= 2.3.6
 if test "x$LIBXML_PREFIX" != "x"
 then
        if ${LIBXML_PREFIX}/bin/xml2-config --libs print > /dev/null 2>&1
@@ -112,13 +112,13 @@ dnl
 if test "x$XML_CONFIG" != "x"
 then
        vers=`$XML_CONFIG --version | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
-       if test "$vers" -ge 2003005
+       if test "$vers" -ge 2003006
        then
                LIBXML_LIBS="`$XML_CONFIG --libs`"
                LIBXML_CFLAGS="`$XML_CONFIG --cflags`"
                AC_MSG_RESULT(found)
        else
-               AC_MSG_ERROR(You need at least libxml 2.3.5 for this version of libxslt)
+               AC_MSG_ERROR(You need at least libxml 2.3.6 for this version of libxslt)
        fi
 else
        AC_MSG_ERROR(Could not find libxml2 anywhere, check ftp://xmlsoft.org/.)
index 3f31407..36d5fa2 100644 (file)
@@ -1,10 +1,5 @@
 ## Process this file with automake to produce Makefile.in
-TESTS= \
-  alphabetize attsets avts axis backwards bottles breadth brutal chart \
-  creation current dbonerow dbtail decoy depth encrypt functions game \
-  html identity inventory metric number oddtemplate patterns prettyprint \
-  priority products queens reverser stringsort summarize total tower trend \
-  union xpath xslbench1 xslbench2 xslbench3
+%.out : %
 
 EXTRA_DIST = \
   dbgen.pl \
@@ -55,27 +50,31 @@ EXTRA_DIST = \
 $(top_builddir)/libxslt/xsltproc:
        @(cd ../../libxslt ; make xsltproc)
 
-all: $(TESTS)
+all: alphabetize attsets avts axis backwards bottles breadth brutal chart \
+  creation current dbonerow dbtail decoy depth encrypt functions game \
+  html identity inventory metric number oddtemplate patterns prettyprint \
+  priority products queens reverser stringsort summarize total tower trend \
+  union xpath xslbench1 xslbench2 xslbench3
        rm -f *.tmp
 
 clean:
        rm -f *.tmp *~ core db100.xml db1000.xml db10000.xml
 
-db100.xml: dbgen.pl
-       ./dbgen.pl 100 > db100.xml
+db100.xml: $(srcdir)/dbgen.pl
+       $(srcdir)/dbgen.pl 100 > db100.xml
 
-db1000.xml: dbgen.pl
-       ./dbgen.pl 1000 > db1000.xml
+db1000.xml: $(srcdir)/dbgen.pl
+       $(srcdir)/dbgen.pl 1000 > db1000.xml
 
-db10000.xml: dbgen.pl
-       ./dbgen.pl 10000 > db10000.xml
+db10000.xml: $(srcdir)/dbgen.pl
+       $(srcdir)/dbgen.pl 10000 > db10000.xml
 
 alphabetize: db100.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo alphabetize)
        @(xsltproc alphabetize.xsl db100.xml > alphabetize.tmp; \
-         if [ ! -f alphabetize.out ] ; then cp alphabetize.tmp alphabetize.out ; \
-         else diff alphabetize.out alphabetize.tmp ; fi ; \
+         if [ ! -f $(srcdir)/alphabetize.out ] ; then cp alphabetize.tmp $(srcdir)/alphabetize.out ; \
+         else diff $(srcdir)/alphabetize.out alphabetize.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=alphabetize.ref
@@ -84,8 +83,8 @@ attsets:
        @(rm -f .memdump ; touch .memdump)
        @(echo attsets)
        @(xsltproc attsets.xsl chart.xml > attsets.tmp; \
-         if [ ! -f attsets.out ] ; then cp attsets.tmp attsets.out ; \
-         else diff attsets.out attsets.tmp ; fi ; \
+         if [ ! -f $(srcdir)/attsets.out ] ; then cp attsets.tmp $(srcdir)/attsets.out ; \
+         else diff $(srcdir)/attsets.out attsets.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=attsets.ref
@@ -94,8 +93,8 @@ avts: db100.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo avts)
        @(xsltproc avts.xsl db100.xml > avts.tmp; \
-         if [ ! -f avts.out ] ; then cp avts.tmp avts.out ; \
-         else diff avts.out avts.tmp ; fi ; \
+         if [ ! -f $(srcdir)/avts.out ] ; then cp avts.tmp $(srcdir)/avts.out ; \
+         else diff $(srcdir)/avts.out avts.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=avts.ref
@@ -104,8 +103,8 @@ axis:
        @(rm -f .memdump ; touch .memdump)
        @(echo axis)
        @(xsltproc axis.xsl axis.xml > axis.tmp; \
-         if [ ! -f axis.out ] ; then cp axis.tmp axis.out ; \
-         else diff axis.out axis.tmp ; fi ; \
+         if [ ! -f $(srcdir)/axis.out ] ; then cp axis.tmp $(srcdir)/axis.out ; \
+         else diff $(srcdir)/axis.out axis.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=axis.ref
@@ -114,8 +113,8 @@ backwards:
        @(rm -f .memdump ; touch .memdump)
        @(echo backwards)
        @(xsltproc backwards.xsl game.xml > backwards.tmp; \
-         if [ ! -f backwards.out ] ; then cp backwards.tmp backwards.out ; \
-         else diff backwards.out backwards.tmp ; fi ; \
+         if [ ! -f $(srcdir)/backwards.out ] ; then cp backwards.tmp $(srcdir)/backwards.out ; \
+         else diff $(srcdir)/backwards.out backwards.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=backwards.ref
@@ -124,8 +123,8 @@ bottles:
        @(rm -f .memdump ; touch .memdump)
        @(echo bottles)
        @(xsltproc bottles.xsl bottles.xml > bottles.tmp; \
-         if [ ! -f bottles.out ] ; then cp bottles.tmp bottles.out ; \
-         else diff bottles.out bottles.tmp ; fi ; \
+         if [ ! -f $(srcdir)/bottles.out ] ; then cp bottles.tmp $(srcdir)/bottles.out ; \
+         else diff $(srcdir)/bottles.out bottles.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=bottles.ref
@@ -134,8 +133,8 @@ breadth:
        @(rm -f .memdump ; touch .memdump)
        @(echo breadth)
        @(xsltproc find.xsl breadth.xml > breadth.tmp; \
-         if [ ! -f breadth.out ] ; then cp breadth.tmp breadth.out ; \
-         else diff breadth.out breadth.tmp ; fi ; \
+         if [ ! -f $(srcdir)/breadth.out ] ; then cp breadth.tmp $(srcdir)/breadth.out ; \
+         else diff $(srcdir)/breadth.out breadth.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=breadth.ref
@@ -144,8 +143,8 @@ brutal:
        @(rm -f .memdump ; touch .memdump)
        @(echo brutal)
        @(xsltproc brutal.xsl brutal.xml > brutal.tmp; \
-         if [ ! -f brutal.out ] ; then cp brutal.tmp brutal.out ; \
-         else diff brutal.out brutal.tmp ; fi ; \
+         if [ ! -f $(srcdir)/brutal.out ] ; then cp brutal.tmp $(srcdir)/brutal.out ; \
+         else diff $(srcdir)/brutal.out brutal.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=brutal.ref
@@ -154,8 +153,8 @@ chart:
        @(rm -f .memdump ; touch .memdump)
        @(echo chart)
        @(xsltproc chart.xsl chart.xml > chart.tmp; \
-         if [ ! -f chart.out ] ; then cp chart.tmp chart.out ; \
-         else diff chart.out chart.tmp ; fi ; \
+         if [ ! -f $(srcdir)/chart.out ] ; then cp chart.tmp $(srcdir)/chart.out ; \
+         else diff $(srcdir)/chart.out chart.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=chart.ref
@@ -164,8 +163,8 @@ creation: db100.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo creation)
        @(xsltproc creation.xsl db100.xml > creation.tmp; \
-         if [ ! -f creation.out ] ; then cp creation.tmp creation.out ; \
-         else diff creation.out creation.tmp ; fi ; \
+         if [ ! -f $(srcdir)/creation.out ] ; then cp creation.tmp $(srcdir)/creation.out ; \
+         else diff $(srcdir)/creation.out creation.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=creation.ref
@@ -174,8 +173,8 @@ current:
        @(rm -f .memdump ; touch .memdump)
        @(echo current)
        @(xsltproc current.xsl current.xml > current.tmp; \
-         if [ ! -f current.out ] ; then cp current.tmp current.out ; \
-         else diff current.out current.tmp ; fi ; \
+         if [ ! -f $(srcdir)/current.out ] ; then cp current.tmp $(srcdir)/current.out ; \
+         else diff $(srcdir)/current.out current.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=current.ref
@@ -184,8 +183,8 @@ dbonerow: db10000.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo dbonerow)
        @(xsltproc dbonerow.xsl db10000.xml > dbonerow.tmp; \
-         if [ ! -f dbonerow.out ] ; then cp dbonerow.tmp dbonerow.out ; \
-         else diff dbonerow.out dbonerow.tmp ; fi ; \
+         if [ ! -f $(srcdir)/dbonerow.out ] ; then cp dbonerow.tmp $(srcdir)/dbonerow.out ; \
+         else diff $(srcdir)/dbonerow.out dbonerow.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=dbonerow.ref
@@ -194,8 +193,8 @@ dbtail: db100.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo dbtail)
        @(xsltproc dbtail.xsl db100.xml > dbtail.tmp; \
-         if [ ! -f dbtail.out ] ; then cp dbtail.tmp dbtail.out ; \
-         else diff dbtail.out dbtail.tmp ; fi ; \
+         if [ ! -f $(srcdir)/dbtail.out ] ; then cp dbtail.tmp $(srcdir)/dbtail.out ; \
+         else diff $(srcdir)/dbtail.out dbtail.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=dbtail.ref
@@ -204,8 +203,8 @@ decoy: db100.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo decoy)
        @(xsltproc decoy.xsl db100.xml > decoy.tmp; \
-         if [ ! -f decoy.out ] ; then cp decoy.tmp decoy.out ; \
-         else diff decoy.out decoy.tmp ; fi ; \
+         if [ ! -f $(srcdir)/decoy.out ] ; then cp decoy.tmp $(srcdir)/decoy.out ; \
+         else diff $(srcdir)/decoy.out decoy.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=patterns.ref
@@ -214,8 +213,8 @@ depth:
        @(rm -f .memdump ; touch .memdump)
        @(echo depth)
        @(xsltproc find.xsl depth.xml > depth.tmp; \
-         if [ ! -f depth.out ] ; then cp depth.tmp depth.out ; \
-         else diff depth.out depth.tmp ; fi ; \
+         if [ ! -f $(srcdir)/depth.out ] ; then cp depth.tmp $(srcdir)/depth.out ; \
+         else diff $(srcdir)/depth.out depth.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=depth.ref
@@ -224,8 +223,8 @@ encrypt: db100.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo encrypt)
        @(xsltproc encrypt.xsl db100.xml > encrypt.tmp; \
-         if [ ! -f encrypt.out ] ; then cp encrypt.tmp encrypt.out ; \
-         else diff encrypt.out encrypt.tmp ; fi ; \
+         if [ ! -f $(srcdir)/encrypt.out ] ; then cp encrypt.tmp $(srcdir)/encrypt.out ; \
+         else diff $(srcdir)/encrypt.out encrypt.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=encrypt.ref
@@ -234,8 +233,8 @@ functions: db100.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo functions)
        @(xsltproc functions.xsl db100.xml > functions.tmp; \
-         if [ ! -f functions.out ] ; then cp functions.tmp functions.out ; \
-         else diff functions.out functions.tmp ; fi ; \
+         if [ ! -f $(srcdir)/functions.out ] ; then cp functions.tmp $(srcdir)/functions.out ; \
+         else diff $(srcdir)/functions.out functions.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=functions.ref
@@ -244,8 +243,8 @@ game:
        @(rm -f .memdump ; touch .memdump)
        @(echo game)
        @(xsltproc game.xsl game.xml > game.tmp; \
-         if [ ! -f game.out ] ; then cp game.tmp game.out ; \
-         else diff game.out game.tmp ; fi ; \
+         if [ ! -f $(srcdir)/game.out ] ; then cp game.tmp $(srcdir)/game.out ; \
+         else diff $(srcdir)/game.out game.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=game.ref
@@ -254,8 +253,8 @@ html:
        @(rm -f .memdump ; touch .memdump)
        @(echo html)
        @(xsltproc html.xsl html.xml > html.tmp; \
-         if [ ! -f html.out ] ; then cp html.tmp html.out ; \
-         else diff html.out html.tmp ; fi ; \
+         if [ ! -f $(srcdir)/html.out ] ; then cp html.tmp $(srcdir)/html.out ; \
+         else diff $(srcdir)/html.out html.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=html.ref
@@ -264,8 +263,8 @@ identity: db1000.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo identity)
        @(xsltproc identity.xsl db1000.xml > identity.tmp; \
-         if [ ! -f identity.out ] ; then cp identity.tmp identity.out ; \
-         else diff identity.out identity.tmp ; fi ; \
+         if [ ! -f $(srcdir)/identity.out ] ; then cp identity.tmp $(srcdir)/identity.out ; \
+         else diff $(srcdir)/identity.out identity.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=identity.ref
@@ -274,8 +273,8 @@ inventory:
        @(rm -f .memdump ; touch .memdump)
        @(echo inventory)
        @(xsltproc inventory.xsl inventory.xml > inventory.tmp; \
-         if [ ! -f inventory.out ] ; then cp inventory.tmp inventory.out ; \
-         else diff inventory.out inventory.tmp ; fi ; \
+         if [ ! -f $(srcdir)/inventory.out ] ; then cp inventory.tmp $(srcdir)/inventory.out ; \
+         else diff $(srcdir)/inventory.out inventory.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=inventory.ref
@@ -284,8 +283,8 @@ metric:
        @(rm -f .memdump ; touch .memdump)
        @(echo metric)
        @(xsltproc metric.xsl metric.xml > metric.tmp; \
-         if [ ! -f metric.out ] ; then cp metric.tmp metric.out ; \
-         else diff metric.out metric.tmp ; fi ; \
+         if [ ! -f $(srcdir)/metric.out ] ; then cp metric.tmp $(srcdir)/metric.out ; \
+         else diff $(srcdir)/metric.out metric.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=metric.ref
@@ -294,8 +293,8 @@ number:
        @(rm -f .memdump ; touch .memdump)
        @(echo number)
        @(xsltproc number.xsl number.xml > number.tmp; \
-         if [ ! -f number.out ] ; then cp number.tmp number.out ; \
-         else diff number.out number.tmp ; fi ; \
+         if [ ! -f $(srcdir)/number.out ] ; then cp number.tmp $(srcdir)/number.out ; \
+         else diff $(srcdir)/number.out number.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 iterations=100
 skipdriver=ExternalDriver:txdriver
@@ -304,8 +303,8 @@ oddtemplate:
        @(rm -f .memdump ; touch .memdump)
        @(echo oddtemplate)
        @(xsltproc oddtemplate.xsl oddtemplate.xml > oddtemplate.tmp; \
-         if [ ! -f oddtemplate.out ] ; then cp oddtemplate.tmp oddtemplate.out ; \
-         else diff oddtemplate.out oddtemplate.tmp ; fi ; \
+         if [ ! -f $(srcdir)/oddtemplate.out ] ; then cp oddtemplate.tmp $(srcdir)/oddtemplate.out ; \
+         else diff $(srcdir)/oddtemplate.out oddtemplate.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=oddtemplate.ref
@@ -314,8 +313,8 @@ patterns: db100.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo patterns)
        @(xsltproc patterns.xsl db100.xml > patterns.tmp; \
-         if [ ! -f patterns.out ] ; then cp patterns.tmp patterns.out ; \
-         else diff patterns.out patterns.tmp ; fi ; \
+         if [ ! -f $(srcdir)/patterns.out ] ; then cp patterns.tmp $(srcdir)/patterns.out ; \
+         else diff $(srcdir)/patterns.out patterns.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=patterns.ref
@@ -324,8 +323,8 @@ prettyprint: db100.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo prettyprint)
        @(xsltproc prettyprint.xsl db100.xml > prettyprint.tmp; \
-         if [ ! -f prettyprint.out ] ; then cp prettyprint.tmp prettyprint.out ; \
-         else diff prettyprint.out prettyprint.tmp ; fi ; \
+         if [ ! -f $(srcdir)/prettyprint.out ] ; then cp prettyprint.tmp $(srcdir)/prettyprint.out ; \
+         else diff $(srcdir)/prettyprint.out prettyprint.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=prettyprint.ref
@@ -334,8 +333,8 @@ priority:
        @(rm -f .memdump ; touch .memdump)
        @(echo priority)
        @(xsltproc priority.xsl priority.xml > priority.tmp; \
-         if [ ! -f priority.out ] ; then cp priority.tmp priority.out ; \
-         else diff priority.out priority.tmp ; fi ; \
+         if [ ! -f $(srcdir)/priority.out ] ; then cp priority.tmp $(srcdir)/priority.out ; \
+         else diff $(srcdir)/priority.out priority.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=priority.ref
@@ -344,8 +343,8 @@ products:
        @(rm -f .memdump ; touch .memdump)
        @(echo products)
        @(xsltproc products.xsl products.xml > products.tmp; \
-         if [ ! -f products.out ] ; then cp products.tmp products.out ; \
-         else diff products.out products.tmp ; fi ; \
+         if [ ! -f $(srcdir)/products.out ] ; then cp products.tmp $(srcdir)/products.out ; \
+         else diff $(srcdir)/products.out products.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=products.ref
@@ -354,8 +353,8 @@ queens:
        @(rm -f .memdump ; touch .memdump)
        @(echo queens)
        @(xsltproc queens.xsl queens.xml > queens.tmp; \
-         if [ ! -f queens.out ] ; then cp queens.tmp queens.out ; \
-         else diff queens.out queens.tmp ; fi ; \
+         if [ ! -f $(srcdir)/queens.out ] ; then cp queens.tmp $(srcdir)/queens.out ; \
+         else diff $(srcdir)/queens.out queens.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=queens.ref
@@ -364,8 +363,8 @@ reverser:
        @(rm -f .memdump ; touch .memdump)
        @(echo reverser)
        @(xsltproc reverser.xsl gettysburg.xml > reverser.tmp; \
-         if [ ! -f reverser.out ] ; then cp reverser.tmp reverser.out ; \
-         else diff reverser.out reverser.tmp ; fi ; \
+         if [ ! -f $(srcdir)/reverser.out ] ; then cp reverser.tmp $(srcdir)/reverser.out ; \
+         else diff $(srcdir)/reverser.out reverser.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=reverser.ref
@@ -374,8 +373,8 @@ stringsort: db1000.xml
        @(rm -f .memdump ; touch .memdump)
        @(echo stringsort)
        @(xsltproc stringsort.xsl db1000.xml > stringsort.tmp; \
-         if [ ! -f stringsort.out ] ; then cp stringsort.tmp stringsort.out ; \
-         else diff stringsort.out stringsort.tmp ; fi ; \
+         if [ ! -f $(srcdir)/stringsort.out ] ; then cp stringsort.tmp $(srcdir)/stringsort.out ; \
+         else diff $(srcdir)/stringsort.out stringsort.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=stringsort.ref
@@ -384,8 +383,8 @@ summarize:
        @(rm -f .memdump ; touch .memdump)
        @(echo summarize)
        @(xsltproc summarize.xsl queens.xsl > summarize.tmp; \
-         if [ ! -f summarize.out ] ; then cp summarize.tmp summarize.out ; \
-         else diff summarize.out summarize.tmp ; fi ; \
+         if [ ! -f $(srcdir)/summarize.out ] ; then cp summarize.tmp $(srcdir)/summarize.out ; \
+         else diff $(srcdir)/summarize.out summarize.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=summarize.ref
@@ -394,8 +393,8 @@ total:
        @(rm -f .memdump ; touch .memdump)
        @(echo total)
        @(xsltproc total.xsl chart.xml > total.tmp; \
-         if [ ! -f total.out ] ; then cp total.tmp total.out ; \
-         else diff total.out total.tmp ; fi ; \
+         if [ ! -f $(srcdir)/total.out ] ; then cp total.tmp $(srcdir)/total.out ; \
+         else diff $(srcdir)/total.out total.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=total.ref
@@ -404,8 +403,8 @@ tower:
        @(rm -f .memdump ; touch .memdump)
        @(echo tower)
        @(xsltproc tower.xsl tower.xml > tower.tmp; \
-         if [ ! -f tower.out ] ; then cp tower.tmp tower.out ; \
-         else diff tower.out tower.tmp ; fi ; \
+         if [ ! -f $(srcdir)/tower.out ] ; then cp tower.tmp $(srcdir)/tower.out ; \
+         else diff $(srcdir)/tower.out tower.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=tower.ref
@@ -414,8 +413,8 @@ trend:
        @(rm -f .memdump ; touch .memdump)
        @(echo trend)
        @(xsltproc trend.xsl trend.xml > trend.tmp; \
-         if [ ! -f trend.out ] ; then cp trend.tmp trend.out ; \
-         else diff trend.out trend.tmp ; fi ; \
+         if [ ! -f $(srcdir)/trend.out ] ; then cp trend.tmp $(srcdir)/trend.out ; \
+         else diff $(srcdir)/trend.out trend.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=trend.ref
@@ -424,8 +423,8 @@ union:
        @(rm -f .memdump ; touch .memdump)
        @(echo union)
        @(xsltproc union.xsl union.xml > union.tmp; \
-         if [ ! -f union.out ] ; then cp union.tmp union.out ; \
-         else diff union.out union.tmp ; fi ; \
+         if [ ! -f $(srcdir)/union.out ] ; then cp union.tmp $(srcdir)/union.out ; \
+         else diff $(srcdir)/union.out union.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=union.ref
@@ -434,8 +433,8 @@ xpath:
        @(rm -f .memdump ; touch .memdump)
        @(echo xpath)
        @(xsltproc xpath.xsl xpath.xml > xpath.tmp; \
-         if [ ! -f xpath.out ] ; then cp xpath.tmp xpath.out ; \
-         else diff xpath.out xpath.tmp ; fi ; \
+         if [ ! -f $(srcdir)/xpath.out ] ; then cp xpath.tmp $(srcdir)/xpath.out ; \
+         else diff $(srcdir)/xpath.out xpath.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 # reference=xpath.ref
@@ -444,24 +443,24 @@ xslbench1:
        @(rm -f .memdump ; touch .memdump)
        @(echo xslbench1)
        @(xsltproc xslbench1.xsl xslbench1.xml > xslbench1.tmp; \
-         if [ ! -f xslbench1.out ] ; then cp xslbench1.tmp xslbench1.out ; \
-         else diff xslbench1.out xslbench1.tmp ; fi ; \
+         if [ ! -f $(srcdir)/xslbench1.out ] ; then cp xslbench1.tmp $(srcdir)/xslbench1.out ; \
+         else diff $(srcdir)/xslbench1.out xslbench1.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 xslbench2:
        @(rm -f .memdump ; touch .memdump)
        @(echo xslbench2)
        @(xsltproc xslbench2.xsl xslbenchdream.xml > xslbench2.tmp; \
-         if [ ! -f xslbench2.out ] ; then cp xslbench2.tmp xslbench2.out ; \
-         else diff xslbench2.out xslbench2.tmp ; fi ; \
+         if [ ! -f $(srcdir)/xslbench2.out ] ; then cp xslbench2.tmp $(srcdir)/xslbench2.out ; \
+         else diff $(srcdir)/xslbench2.out xslbench2.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
 
 xslbench3:
        @(rm -f .memdump ; touch .memdump)
        @(echo xslbench3)
        @(xsltproc xslbench3.xsl xslbenchdream.xml > xslbench3.tmp; \
-         if [ ! -f xslbench3.out ] ; then cp xslbench3.tmp xslbench3.out ; \
-         else diff xslbench3.out xslbench3.tmp ; fi ; \
+         if [ ! -f $(srcdir)/xslbench3.out ] ; then cp xslbench3.tmp $(srcdir)/xslbench3.out ; \
+         else diff $(srcdir)/xslbench3.out xslbench3.tmp ; fi ; \
          grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )