In make cleandir, force removal of config.status if it's left

around after running make distclean.
This commit is contained in:
matthieu
2011-11-05 11:49:01 +00:00
parent 714d54a9e9
commit 11e48bf1aa

View File

@@ -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 <20> 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
#