summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2011-11-05 11:49:02 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2011-11-05 11:49:02 +0000
commite59d0622d3162f7b5a7420ef87dbebb200348c37 (patch)
tree66f301f921f66618443a414590aa8446aa63ebf1
parent999ce5a7a4b813a15a3a94ed4c1cbfa814c6f57a (diff)
In make cleandir, force removal of config.status if it's left
around after running make distclean.
-rw-r--r--share/mk/bsd.xorg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/mk/bsd.xorg.mk b/share/mk/bsd.xorg.mk
index 4004ac9e7..ef44685c1 100644
--- a/share/mk/bsd.xorg.mk
+++ b/share/mk/bsd.xorg.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.xorg.mk,v 1.39 2011/06/23 22:49:00 naddy Exp $ -*- makefile -*-
+# $OpenBSD: bsd.xorg.mk,v 1.40 2011/11/05 11:49:01 matthieu Exp $ -*- makefile -*-
#
# Copyright © 2006 Matthieu Herrb
#
@@ -217,6 +217,10 @@ clean:
.if !target(cleandir)
cleandir: clean
-@if [ -f Makefile ]; then exec ${MAKE} distclean; fi
+ -@if [ -f config.status ]; then \
+ echo "rm config.status"; \
+ rm -f config.status; \
+ fi
.endif
#