diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-05-22 15:03:04 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-05-22 15:03:04 +0000 |
commit | d53d1adee1215ebb5331c1a101ddd9e255b4bd4a (patch) | |
tree | c229136e3caf124ac3d59b0dfa027b74db3e4c9f /share/mk/bsd.xorg.mk | |
parent | 48904defe50c330768edbbc991a0fe6994740679 (diff) |
Use test -f rather than test -e to test for Makefile presence.
Diffstat (limited to 'share/mk/bsd.xorg.mk')
-rw-r--r-- | share/mk/bsd.xorg.mk | 6 |
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 # |