=================================================================== File: Makefile.common Status: Up-to-date Working revision: 1.17 Repository revision: 1.17 /cvs/docs/docs-common/Makefile.common,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) The current html_nochunk path does not properly copy over all images in figs/. The Makefile.common logic assumes all figs are in the figs/* directory. For several large documents we build, it is helpfull to seperate figs into subdirectories by chapter (figs/ch-intro, figs/apx-1, etc...). The following patch resolves the issue, however it pulls in all figs which appears to not be intended (don't want *.eps)? Index: ../docs-common/Makefile.common =================================================================== RCS file: /cvs/docs/docs-common/Makefile.common,v retrieving revision 1.17 diff -u -u -r1.17 Makefile.common --- ../docs-common/Makefile.common 2 Dec 2005 16:03:46 -0000 1.17 +++ ../docs-common/Makefile.common 8 Dec 2005 18:51:23 -0000 @@ -87,11 +87,7 @@ cp ${HTMLCSS} $(DOCBASE)-$(1)/fedora.css cp ${HTMLCSSEXTRA} $(DOCBASE)-$(1)/ [ ! -d figs ] || ( \ - mkdir -p ${DOCBASE}-$(1)/figs; \ - find figs -type f -iname '*.*' -print | \ - egrep -vi '*.eps' | \ - egrep '(.*-$(1)..*)|([^-]*[.][^-]*)' | \ - while read x; do cp -f $$$${x} ${DOCBASE}-$(1)/figs; done \ + cp -a figs ${DOCBASE}-$(1)/figs; \ ) && exit 0 endef #
This code snippet is actually from the HTML "chunks" stanza; no figs/ copying is done for the "nochunks" variant. Added "docs-common/bin/copy-figs" shell script to copy the "figs"/ structure and content.
Ticket moved to allow products to be removed from BZ.