diff options
author | Juli Mallett <jmallett@FreeBSD.org> | 2002-06-26 08:41:00 +0000 |
---|---|---|
committer | Juli Mallett <jmallett@FreeBSD.org> | 2002-06-26 08:41:00 +0000 |
commit | dd247f73712c73347b11c72af887c7a6c08ad4e7 (patch) | |
tree | 4e6477c58977eae5f8aaaca17d2177f7b18a7776 /share | |
parent | baefb2ee4e670d602b4a15ee8f2afdf84419d685 (diff) | |
download | src-dd247f73712c73347b11c72af887c7a6c08ad4e7.tar.gz src-dd247f73712c73347b11c72af887c7a6c08ad4e7.zip |
If CLEANFILES is nil or not defined, do not try to remove it. This happens
when SRCS is entirely files which produce only one compiled form, and when
NOMAN is defined. This does not seem to happen in STABLE.
Approved by: ru
Notes
Notes:
svn path=/head/; revision=98870
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.lib.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index a340982ff7af..1e1c9cec4945 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -232,7 +232,9 @@ all: _manpages .if !target(clean) clean: +.if defined(CLEANFILES) && !empty(CLEANFILES) rm -f ${CLEANFILES} +.endif .if defined(LIB) && !empty(LIB) rm -f a.out ${OBJS} ${OBJS:S/$/.tmp/} ${STATICOBJS} .if !defined(INTERNALLIB) |