Is there an equivalent expression for GNU Make for the following
lines taken from a Berkeley Make Makefile:

.for _curimage in ${IMAGES_GEN_PNG}
${_curimage}: ${_curimage:S/.png$/.eps/}
        convert -antialias -density 108x108 ${_curimage:S/.png$/.eps/} \
                ${_curimage}
.endfor

Problems with this I could not solve using GNU Make:

- generates target/dependency tupels for every entry in the variable
  IMAGES_GEN_PDF - I tried using foreach(...) without success :-(
- subsitutes every occurence of .png with .eps. in the variable.
  There are more problems waiting like:
  IMAGES_GEN_EPS=${IMAGES:M*.png:s/.png$/.eps/}
  I not even have any idea how to solve this :-(

Michael
-- 
office:  [EMAIL PROTECTED]
private: [EMAIL PROTECTED]                 http://www.miwie.org/
         [EMAIL PROTECTED]                          http://wap.miwie.org/

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to