Make sure the only thing that follows .endif or .else is a comment.

This commit is contained in:
Hartmut Brandt 2005-04-11 07:13:29 +00:00
parent 213a268eec
commit 84aac27381
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144893
8 changed files with 14 additions and 14 deletions

View File

@ -60,10 +60,10 @@ _${group}INS: ${_${group}FILES}
.endif
.endif
.endif defined(${group}) && !empty(${group})
.endif # defined(${group}) && !empty(${group})
.endfor
.endif !target(installfiles)
.endif # !target(installfiles)
realinstall: installfiles
.ORDER: beforeinstall installfiles

View File

@ -59,7 +59,7 @@ _${group}INS: ${_${group}INCS}
.endif
.endif
.endif defined(${group}) && !empty(${group})
.endif # defined(${group}) && !empty(${group})
.endfor
.if defined(INCSLINKS) && !empty(INCSLINKS)
@ -74,7 +74,7 @@ installincludes:
ln -fs $$l $$t; \
done; true
.endif
.endif !target(installincludes)
.endif # !target(installincludes)
realinstall: installincludes
.ORDER: beforeinstall installincludes

View File

@ -12,4 +12,4 @@ __<bsd.init.mk>__:
.include <bsd.compat.mk>
.include <bsd.own.mk>
.MAIN: all
.endif !target(__<bsd.init.mk>__)
.endif # !target(__<bsd.init.mk>__)

View File

@ -166,7 +166,7 @@ ${LINTLIB}: ${LINTOBJS}
${LINT} ${LINTLIBFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC}
.endif
.endif !defined(INTERNALLIB)
.endif # !defined(INTERNALLIB)
all: ${_LIBS}
@ -240,7 +240,7 @@ _libinstall:
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR}
.endif
.endif !defined(INTERNALLIB)
.endif # !defined(INTERNALLIB)
.include <bsd.nls.mk>
.include <bsd.files.mk>
@ -308,7 +308,7 @@ clean:
.if defined(WANT_LINT) && defined(LIB) && !empty(LIB)
rm -f ${LINTOBJS}
.endif
.endif !defined(INTERNALLIB)
.endif # !defined(INTERNALLIB)
.if defined(_LIBS) && !empty(_LIBS)
rm -f ${_LIBS}
.endif

View File

@ -73,4 +73,4 @@ SYMLINKS+= ../${file:R}/${NLSNAME}.cat ${NLSDIR}/${dst}/${NLSNAME}.cat
.endfor
.endfor
.endif defined(NLS) && !empty(NLS) && !defined(NO_NLS)
.endif # defined(NLS) && !empty(NLS) && !defined(NO_NLS)

View File

@ -98,7 +98,7 @@ objlink:
echo "No ${CANONICALOBJDIR} to link to - do a make obj."; \
fi
.endif
.endif !defined(NO_OBJ)
.endif # !defined(NO_OBJ)
#
# where would that obj directory be?
@ -130,4 +130,4 @@ cleandir: cleanobj
.include <bsd.subdir.mk>
.endif !target(__<bsd.obj.mk>__)
.endif # !target(__<bsd.obj.mk>__)

View File

@ -165,4 +165,4 @@ STRIP?= -s
COMPRESS_CMD?= gzip -cn
COMPRESS_EXT?= .gz
.endif !target(__<bsd.own.mk>__)
.endif # !target(__<bsd.own.mk>__)

View File

@ -48,7 +48,7 @@ ${PROG}: ${OBJS}
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDADD}
.endif
.else !defined(SRCS)
.else # !defined(SRCS)
.if !target(${PROG})
.if defined(PROG_CXX)
@ -140,7 +140,7 @@ _proginstall:
${_INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR}
.endif
.endif
.endif !target(realinstall)
.endif # !target(realinstall)
.if defined(SCRIPTS) && !empty(SCRIPTS)
realinstall: _scriptsinstall