MFP4 (change 8929):
Don't make the assumption that source files are writable. The FDP infrastructure has a few constructs of the form "cp foo bar; cat baz >> bar". This breaks if foo isn't writable (as is frequently the case in P4 work directory).
This commit is contained in:
parent
f91c30368b
commit
489a87ef81
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12773
1 changed files with 4 additions and 2 deletions
|
@ -413,7 +413,8 @@ ${DOC}.tex-ps: ${DOC}.tex
|
|||
${LN} -f ${.ALLSRC} ${.TARGET}
|
||||
|
||||
${DOC}.tex-pdf: ${SRCS} ${IMAGES_PDF} ${INDEX_SGML} ${PRINT_INDEX}
|
||||
${CP} -p ${PDFTEX_DEF} ${.TARGET}
|
||||
${RM} -f ${.TARGET}
|
||||
${CAT} ${PDFTEX_DEF} > ${.TARGET}
|
||||
${JADE} -V tex-backend ${PRINTOPTS} -ioutput.print.pdf \
|
||||
${JADEOPTS} -t tex -o /dev/stdout ${MASTERDOC} >> ${.TARGET}
|
||||
|
||||
|
@ -726,7 +727,8 @@ package-${_curformat}: ${PACKAGES}/${.CURDIR:T}.${LANGCODE}.${_curformat}.tgz
|
|||
|
||||
.if ${LOCAL_CSS_SHEET} != ${CSS_SHEET}
|
||||
${LOCAL_CSS_SHEET}: ${CSS_SHEET}
|
||||
${CP} -p ${.ALLSRC} ${.TARGET}
|
||||
${RM} -f ${.TARGET}
|
||||
${CAT} ${.ALLSRC} > ${.TARGET}
|
||||
.if defined(CSS_SHEET_ADDITIONS)
|
||||
${CAT} ${.CURDIR}/${CSS_SHEET_ADDITIONS} >> ${.TARGET}
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue