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:
parent
baefb2ee4e
commit
dd247f7371
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user