Author: tsekine
Update of /cvs/docs/release-notes In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7514
Modified Files: Makefile Log Message: fix the figs directory making rule so that 2 or more lauguages are able to be specified in LANGUAGES variable
Index: Makefile =================================================================== RCS file: /cvs/docs/release-notes/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Makefile 25 Oct 2005 08:34:00 -0000 1.3 +++ Makefile 29 Oct 2005 13:26:22 -0000 1.4 @@ -27,11 +27,13 @@ #${DOCBASE}-en/index.html:: # echo FINISHED AT LAST
-# Need to copy over the figures for this directory. Should -# this be a common action instead? -${DOCBASE}-en/index.html:: - mkdir -p ${DOCBASE}-${LANGUAGES}/figs - cp figs/* ${DOCBASE}-${LANGUAGES}/figs +# 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
docs-commits@lists.fedoraproject.org