From 3842f2f11d885e1f4313064ca05a041de54570dc Mon Sep 17 00:00:00 2001 From: jacob berkman Date: Fri, 1 Mar 2002 20:03:06 +0000 Subject: [PATCH] replace uses of test -e with more portable test -f 2002-03-01 jacob berkman * Makefile.am (install-data-hook): (dist-hook): replace uses of test -e with more portable test -f --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ Makefile.am | 6 +++--- 8 files changed, 38 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 52912bc2a9..b7d7d8814e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-03-01 jacob berkman + + * Makefile.am (install-data-hook): + (dist-hook): replace uses of test -e with more portable test -f + Fri Mar 1 14:49:35 2002 Owen Taylor * gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 52912bc2a9..b7d7d8814e 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2002-03-01 jacob berkman + + * Makefile.am (install-data-hook): + (dist-hook): replace uses of test -e with more portable test -f + Fri Mar 1 14:49:35 2002 Owen Taylor * gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 52912bc2a9..b7d7d8814e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2002-03-01 jacob berkman + + * Makefile.am (install-data-hook): + (dist-hook): replace uses of test -e with more portable test -f + Fri Mar 1 14:49:35 2002 Owen Taylor * gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 52912bc2a9..b7d7d8814e 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2002-03-01 jacob berkman + + * Makefile.am (install-data-hook): + (dist-hook): replace uses of test -e with more portable test -f + Fri Mar 1 14:49:35 2002 Owen Taylor * gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 52912bc2a9..b7d7d8814e 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2002-03-01 jacob berkman + + * Makefile.am (install-data-hook): + (dist-hook): replace uses of test -e with more portable test -f + Fri Mar 1 14:49:35 2002 Owen Taylor * gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 52912bc2a9..b7d7d8814e 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2002-03-01 jacob berkman + + * Makefile.am (install-data-hook): + (dist-hook): replace uses of test -e with more portable test -f + Fri Mar 1 14:49:35 2002 Owen Taylor * gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 52912bc2a9..b7d7d8814e 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2002-03-01 jacob berkman + + * Makefile.am (install-data-hook): + (dist-hook): replace uses of test -e with more portable test -f + Fri Mar 1 14:49:35 2002 Owen Taylor * gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete diff --git a/Makefile.am b/Makefile.am index d126a78dd6..6024710ec3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -145,8 +145,8 @@ DISTCLEANFILES = \ DEFAULT_GDKTARGET=x11 install-data-hook: (cd $(DESTDIR)$(pkgconfigdir) && \ - test -e gdk-$(DEFAULT_GDKTARGET)-2.0.pc && \ - test -e gtk+-$(DEFAULT_GDKTARGET)-2.0.pc && \ + test -f gdk-$(DEFAULT_GDKTARGET)-2.0.pc && \ + test -f gtk+-$(DEFAULT_GDKTARGET)-2.0.pc && \ rm -f gdk-2.0.pc && cp -f gdk-$(DEFAULT_GDKTARGET)-2.0.pc gdk-2.0.pc && \ rm -f gtk+-2.0.pc && cp -f gtk+-$(DEFAULT_GDKTARGET)-2.0.pc gtk+-2.0.pc) || \ (cd $(DESTDIR)$(pkgconfigdir) && \ @@ -154,7 +154,7 @@ install-data-hook: rm -f gtk+-2.0.pc && cp -f gtk+-$(GDKTARGET)-2.0.pc gtk+-2.0.pc) dist-hook: gtk+.spec - if test -e $(srcdir)/INSTALL.in && test -e $(srcdir)/README.in ; then \ + if test -f $(srcdir)/INSTALL.in && test -f $(srcdir)/README.in ; then \ CONFIG_FILES="INSTALL:$(srcdir)/INSTALL.in README:$(srcdir)/README.in" \ CONFIG_HEADERS= \ $(SHELL) config.status \