use test -f instead of test -e since Solaris /bin/sh misses it, reported
* Makefile.am: use test -f instead of test -e since Solaris /bin/sh
misses it, reported by Peter Bray.
Daniel
diff --git a/ChangeLog b/ChangeLog
index bd2ee51..3a004e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Oct 15 10:35:57 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+ * Makefile.am: use test -f instead of test -e since Solaris /bin/sh
+ misses it, reported by Peter Bray.
+
Mon Oct 14 17:37:32 CEST 2002 Daniel Veillard <daniel@veillard.com>
* tree.c: investigating xmlNodeGetContent() on namespace nodes
diff --git a/Makefile.am b/Makefile.am
index 8e60f53..b56c815 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -623,9 +623,9 @@
name=`basename $$i .xml`; \
echo Testing $$m/$$name; \
cmdline="$(CHECKER) $(top_builddir)/testC14N --$$m $$i"; \
- if [ -e $(srcdir)/test/c14n/$$m/$$name.xpath ] ; then \
+ if [ -f $(srcdir)/test/c14n/$$m/$$name.xpath ] ; then \
cmdline="$$cmdline $(srcdir)/test/c14n/$$m/$$name.xpath"; \
- if [ -e $(srcdir)/test/c14n/$$m/$$name.ns ] ; then \
+ if [ -f $(srcdir)/test/c14n/$$m/$$name.ns ] ; then \
cmdline="$$cmdline '`cat $(srcdir)/test/c14n/$$m/$$name.ns`'"; \
fi; \
fi; \
@@ -682,7 +682,7 @@
@(rm -f libxml*.tar.gz COPYING.LIB)
rpm: cleantar
- @(unset CDPATH ; $(MAKE) dist && rpm -ta $(distdir).tar.gz)
+ @(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
## We create xml2Conf.sh here and not from configure because we want
## to get the paths expanded correctly. Macros like srcdir are given