summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorjacob berkman <jacob@ximian.com>2002-03-01 20:03:06 +0000
committerJacob Berkman <jberkman@src.gnome.org>2002-03-01 20:03:06 +0000
commit2a1744dfe7705be91672397356d2f2c660076fab (patch)
tree1fe45ba7546e2e7f6a8e47c16886d93460f57ab7 /Makefile.am
parenta99b0e4908dba366cfd8eca844d2561b937e1dcf (diff)
downloadgdk-pixbuf-2a1744dfe7705be91672397356d2f2c660076fab.tar.gz
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
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index d126a78dd..6024710ec 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 \