1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00

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
This commit is contained in:
Juli Mallett 2002-06-26 08:41:00 +00:00
parent baefb2ee4e
commit dd247f7371
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98870

View File

@ -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)