mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +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:
parent
baefb2ee4e
commit
dd247f7371
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98870
@ -232,7 +232,9 @@ all: _manpages
|
|||||||
|
|
||||||
.if !target(clean)
|
.if !target(clean)
|
||||||
clean:
|
clean:
|
||||||
|
.if defined(CLEANFILES) && !empty(CLEANFILES)
|
||||||
rm -f ${CLEANFILES}
|
rm -f ${CLEANFILES}
|
||||||
|
.endif
|
||||||
.if defined(LIB) && !empty(LIB)
|
.if defined(LIB) && !empty(LIB)
|
||||||
rm -f a.out ${OBJS} ${OBJS:S/$/.tmp/} ${STATICOBJS}
|
rm -f a.out ${OBJS} ${OBJS:S/$/.tmp/} ${STATICOBJS}
|
||||||
.if !defined(INTERNALLIB)
|
.if !defined(INTERNALLIB)
|
||||||
|
Loading…
Reference in New Issue
Block a user