Author: jtr
Update of /cvs/docs/release-notes In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30790/release-notes
Modified Files: Makefile Log Message: If the document directory has a "figs/" subdirectory, create an "figs/" subdirectory in the HTML output directory. Copy any ordinary files with a dot in their names to the newly-created "${DOCBASE}-${LANG}/figs/" subdirectory.
To be copied, a graphics file must: 1) Have an extention that is NOT ".eps", since HTML doesn't grok EPS files. 2) Have a filename matching "*-${LANG}.*" -- be a graphic for the selected language. 3) Have a filename that DOES NOT HAVE A DASH at all -- this allows for "language-independent" graphics.
Index: Makefile =================================================================== RCS file: /cvs/docs/release-notes/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Makefile 29 Oct 2005 13:26:22 -0000 1.4 +++ Makefile 30 Oct 2005 02:36:48 -0000 1.5 @@ -26,15 +26,6 @@ # line: #${DOCBASE}-en/index.html:: # echo FINISHED AT LAST - -# Need to copy over the figures for those directory. -define figs_dir_template -${DOCBASE}-$(1)/index.html:: - mkdir -p ${DOCBASE}-$(1)/figs - cp figs/*.* ${DOCBASE}-$(1)/figs -endef -$(foreach LANG,${LANGUAGES},$(eval $(call figs_dir_template,${LANG}))) - ###################################################### # Some packaging specific vars VERSION=$(shell grep BOOKID $(DOCBASE)-en.xml | sed 's/<!ENTITY BOOKID "[^0-9.]+//' | sed 's/ .+//')
docs-commits@lists.fedoraproject.org