- 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
|
MAN4PAGES?= ${MAN4DIR}/*.4 ${MAN4DIR}/man4.*/*.4
|
||||||
ARCHLIST?= ${.CURDIR}/../../share/misc/dev.archlist.txt
|
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
|
MAN2HWNOTES_CMD=${.CURDIR}/../../share/misc/man2hwnotes.pl
|
||||||
.if defined(HWNOTES_MI)
|
.if defined(HWNOTES_MI)
|
||||||
|
|
@ -90,14 +92,14 @@ MAN2HWNOTES_FLAGS= -c
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
dev-auto.ent:
|
dev-auto.ent:
|
||||||
${PERL} ${MAN2HWNOTES_CMD} ${MAN2HWNOTES_FLAGS} -a ${ARCHLIST} -o ${.TARGET} ${MAN4PAGES}
|
${PERL} ${MAN2HWNOTES_CMD} ${MAN2HWNOTES_FLAGS} -a ${ARCHLIST} -o ${.TARGET}.tmp ${MAN4PAGES}
|
||||||
|
${MV} ${.TARGET}.tmp ${.TARGET}
|
||||||
beforebuild: dev-auto.ent
|
|
||||||
|
|
||||||
|
.if make(clean)
|
||||||
beforeclean:
|
beforeclean:
|
||||||
.for _SD in ${D}
|
SUBDIR+= ${D}
|
||||||
${MAKE} -C ${_SD} DOCINSTALLDIR=${DOCINSTALLDIR} clean
|
.include "${DOC_PREFIX}/share/mk/doc.subdir.mk"
|
||||||
.endfor
|
.endif
|
||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
.for _SD in ${D}
|
.for _SD in ${D}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@ SRCS?= errata.xml
|
||||||
|
|
||||||
DATA+= ${DOC}.html
|
DATA+= ${DOC}.html
|
||||||
|
|
||||||
beforeclean:
|
|
||||||
CLEANFILES+= ${DOC}.html \
|
CLEANFILES+= ${DOC}.html \
|
||||||
${DOC}.txt \
|
${DOC}.txt \
|
||||||
catalog-cwd.xml \
|
catalog-cwd.xml \
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@ SRCS?= hardware.xml
|
||||||
|
|
||||||
DATA+= ${DOC}.html
|
DATA+= ${DOC}.html
|
||||||
|
|
||||||
beforeclean:
|
|
||||||
CLEANFILES+= ${DOC}.html \
|
CLEANFILES+= ${DOC}.html \
|
||||||
${DOC}.txt \
|
${DOC}.txt \
|
||||||
catalog-cwd.xml \
|
catalog-cwd.xml \
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@ SRCS?= readme.xml
|
||||||
|
|
||||||
DATA+= ${DOC}.html
|
DATA+= ${DOC}.html
|
||||||
|
|
||||||
beforeclean:
|
|
||||||
CLEANFILES+= ${DOC}.html \
|
CLEANFILES+= ${DOC}.html \
|
||||||
${DOC}.txt \
|
${DOC}.txt \
|
||||||
catalog-cwd.xml \
|
catalog-cwd.xml \
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@ SRCS?= relnotes.xml
|
||||||
|
|
||||||
DATA+= ${DOC}.html
|
DATA+= ${DOC}.html
|
||||||
|
|
||||||
beforeclean:
|
|
||||||
CLEANFILES+= ${DOC}.html \
|
CLEANFILES+= ${DOC}.html \
|
||||||
${DOC}.txt \
|
${DOC}.txt \
|
||||||
catalog-cwd.xml \
|
catalog-cwd.xml \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue