## ./themes/Makefile.am of graveman themessubdir = themes themes = default all: @echo "Themes will be installed with 'make install'" @true install: $(mkinstalldirs) ${DESTDIR}${pkgdatadir}/themes for theme in ${themes}; do \ if test -d $$theme && test -f $$theme/graveman; then \ echo "Installing '$$theme' theme ..." ; \ $(mkinstalldirs) ${DESTDIR}${pkgdatadir}/themes/$$theme ; \ for files in $$theme/*; do \ ${INSTALL_DATA} $$files ${DESTDIR}${pkgdatadir}/${themessubdir}/$$theme ; \ done \ fi \ done