replace uses of test -e with more portable test -f

2002-03-01  jacob berkman  <jacob@ximian.com>

	* Makefile.am (install-data-hook):
	(dist-hook): replace uses of test -e with more portable test -f
This commit is contained in:
jacob berkman 2002-03-01 20:03:06 +00:00 committed by Jacob Berkman
parent 206119c9c1
commit 3842f2f11d
8 changed files with 38 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-03-01 jacob berkman <jacob@ximian.com>
* 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 <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete

View File

@ -1,3 +1,8 @@
2002-03-01 jacob berkman <jacob@ximian.com>
* 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 <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete

View File

@ -1,3 +1,8 @@
2002-03-01 jacob berkman <jacob@ximian.com>
* 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 <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete

View File

@ -1,3 +1,8 @@
2002-03-01 jacob berkman <jacob@ximian.com>
* 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 <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete

View File

@ -1,3 +1,8 @@
2002-03-01 jacob berkman <jacob@ximian.com>
* 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 <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete

View File

@ -1,3 +1,8 @@
2002-03-01 jacob berkman <jacob@ximian.com>
* 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 <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete

View File

@ -1,3 +1,8 @@
2002-03-01 jacob berkman <jacob@ximian.com>
* 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 <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete

View File

@ -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 \