- Fix dev-auto.ent generation so the target file exists only on
success. [1] - Fix the clean target for 12.0R/*/ subdirectories. [2] - Add missing CLEANFILES for index.html and schedule.html. Suggested by; wosch [1] Reported by: wosch [1], [2] Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
38a74a6b52
commit
a17e18e853
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51068
5 changed files with 9 additions and 11 deletions
|
@ -80,7 +80,9 @@ D+= relnotes
|
|||
|
||||
MAN4PAGES?= ${MAN4DIR}/*.4 ${MAN4DIR}/man4.*/*.4
|
||||
ARCHLIST?= ${.CURDIR}/../../share/misc/dev.archlist.txt
|
||||
CLEANFILES+= dev-auto.ent
|
||||
CLEANFILES+= dev-auto.ent \
|
||||
index.html \
|
||||
schedule.html
|
||||
|
||||
MAN2HWNOTES_CMD=${.CURDIR}/../../share/misc/man2hwnotes.pl
|
||||
.if defined(HWNOTES_MI)
|
||||
|
@ -90,14 +92,14 @@ MAN2HWNOTES_FLAGS= -c
|
|||
.endif
|
||||
|
||||
dev-auto.ent:
|
||||
${PERL} ${MAN2HWNOTES_CMD} ${MAN2HWNOTES_FLAGS} -a ${ARCHLIST} -o ${.TARGET} ${MAN4PAGES}
|
||||
|
||||
beforebuild: dev-auto.ent
|
||||
${PERL} ${MAN2HWNOTES_CMD} ${MAN2HWNOTES_FLAGS} -a ${ARCHLIST} -o ${.TARGET}.tmp ${MAN4PAGES}
|
||||
${MV} ${.TARGET}.tmp ${.TARGET}
|
||||
|
||||
.if make(clean)
|
||||
beforeclean:
|
||||
.for _SD in ${D}
|
||||
${MAKE} -C ${_SD} DOCINSTALLDIR=${DOCINSTALLDIR} clean
|
||||
.endfor
|
||||
SUBDIR+= ${D}
|
||||
.include "${DOC_PREFIX}/share/mk/doc.subdir.mk"
|
||||
.endif
|
||||
|
||||
beforeinstall:
|
||||
.for _SD in ${D}
|
||||
|
|
|
@ -21,7 +21,6 @@ SRCS?= errata.xml
|
|||
|
||||
DATA+= ${DOC}.html
|
||||
|
||||
beforeclean:
|
||||
CLEANFILES+= ${DOC}.html \
|
||||
${DOC}.txt \
|
||||
catalog-cwd.xml \
|
||||
|
|
|
@ -21,7 +21,6 @@ SRCS?= hardware.xml
|
|||
|
||||
DATA+= ${DOC}.html
|
||||
|
||||
beforeclean:
|
||||
CLEANFILES+= ${DOC}.html \
|
||||
${DOC}.txt \
|
||||
catalog-cwd.xml \
|
||||
|
|
|
@ -21,7 +21,6 @@ SRCS?= readme.xml
|
|||
|
||||
DATA+= ${DOC}.html
|
||||
|
||||
beforeclean:
|
||||
CLEANFILES+= ${DOC}.html \
|
||||
${DOC}.txt \
|
||||
catalog-cwd.xml \
|
||||
|
|
|
@ -21,7 +21,6 @@ SRCS?= relnotes.xml
|
|||
|
||||
DATA+= ${DOC}.html
|
||||
|
||||
beforeclean:
|
||||
CLEANFILES+= ${DOC}.html \
|
||||
${DOC}.txt \
|
||||
catalog-cwd.xml \
|
||||
|
|
Loading…
Reference in a new issue