Remove pointless copy of template directory.
First, zip up the template directory from /usr/doc/share/openoffice, then use 'zip -g slides.sxi content.xml' to append a single file to the zip archive after content.xml has been created. Also make this target .OBJDIR clean.
This commit is contained in:
parent
070f43adea
commit
2f5f2b672d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25498
1 changed files with 3 additions and 3 deletions
|
@ -71,9 +71,9 @@ ${DOC}.html: ${SRCS}
|
|||
${XSLTPROC} ${XSLTPROCOPTS} ${SLIDES_XSLHTML} ${DOC}.xml
|
||||
|
||||
${DOC}.sxi: ${SRCS}
|
||||
cp -Rp ${DOC_PREFIX}/share/openoffice/${TEMPLATE} sxi
|
||||
${XSLTPROC} ${XSLTPROCOPTS} ${DOC_PREFIX}/share/openoffice/${TEMPLATE}.xsl slides.xml > sxi/content.xml
|
||||
(cd sxi; zip -r ../${DOC}.sxi .)
|
||||
${XSLTPROC} ${XSLTPROCOPTS} ${DOC_PREFIX}/share/openoffice/${TEMPLATE}.xsl ${.CURDIR}/slides.xml > ${.OBJDIR}/content.xml
|
||||
(cd ${DOC_PREFIX}/share/openoffice/${TEMPLATE}; zip -r ${.OBJDIR}/${DOC}.sxi .)
|
||||
(cd ${.OBJDIR}; zip -g ${DOC}.sxi content.xml)
|
||||
|
||||
${DOC}.fo: ${SRCS}
|
||||
.if defined(USE_SAXON)
|
||||
|
|
Loading…
Reference in a new issue