Such files are polluting the lib/images directory if
exporting lyx-files containing lyx-info of type icon.
lyx_install(${TOP_SRC_DIR}/lib examples * . ${_all_languages} springer thesis)
lyx_install(${TOP_SRC_DIR}/lib fonts * .)
-lyx_install(${TOP_SRC_DIR}/lib images * . ipa commands attic classic oxygen)
-lyx_install(${TOP_SRC_DIR}/lib images/math * . oxygen)
+foreach(_imgext "png" "svgz" "gif" "xpm")
+ lyx_install(${TOP_SRC_DIR}/lib images "*.${_imgext}" . ipa commands attic classic oxygen)
+ lyx_install(${TOP_SRC_DIR}/lib images/math "*.${_imgext}" . oxygen)
+endforeach()
lyx_install(${TOP_SRC_DIR}/lib kbd * .)
lyx_install(${TOP_SRC_DIR}/lib layouts * .)
lyx_install(${TOP_SRC_DIR}/lib lyx2lyx *.py .)