summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-22 15:03:04 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-22 15:03:04 +0000
commitd53d1adee1215ebb5331c1a101ddd9e255b4bd4a (patch)
treec229136e3caf124ac3d59b0dfa027b74db3e4c9f /share
parent48904defe50c330768edbbc991a0fe6994740679 (diff)
Use test -f rather than test -e to test for Makefile presence.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.xorg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.xorg.mk b/share/mk/bsd.xorg.mk
index a2d183b7c..1b2a1e821 100644
--- a/share/mk/bsd.xorg.mk
+++ b/share/mk/bsd.xorg.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.xorg.mk,v 1.27 2009/05/02 13:51:29 matthieu Exp $ -*- makefile -*-
+# $OpenBSD: bsd.xorg.mk,v 1.28 2009/05/22 15:03:03 matthieu Exp $ -*- makefile -*-
#
# Copyright © 2006 Matthieu Herrb
#
@@ -192,12 +192,12 @@ build:
.if !target(clean)
clean:
- -@if [ -e Makefile ]; then exec ${MAKE} clean; fi
+ -@if [ -f Makefile ]; then exec ${MAKE} clean; fi
.endif
.if !target(cleandir)
cleandir: clean
- -@if [ -e Makefile ]; then exec ${MAKE} distclean; fi
+ -@if [ -f Makefile ]; then exec ${MAKE} distclean; fi
.endif
#