| 11 |
@echo "Installing themes in '${DESTDIR}${pkgdatadir}/${themessubdir}'" |
@echo "Installing themes in '${DESTDIR}${pkgdatadir}/${themessubdir}'" |
| 12 |
@$(mkinstalldirs) ${DESTDIR}${pkgdatadir}/${themessubdir} |
@$(mkinstalldirs) ${DESTDIR}${pkgdatadir}/${themessubdir} |
| 13 |
@for theme in ${themes}; do \ |
@for theme in ${themes}; do \ |
| 14 |
if test -d $$theme && test -f $$theme/graveman; then \ |
if test -d ${srcdir}/$$theme && test -f ${srcdir}/$$theme/graveman; then \ |
| 15 |
echo "Installing '$$theme' theme ..." ; \ |
echo "Installing '$$theme' theme ..." ; \ |
| 16 |
$(mkinstalldirs) ${DESTDIR}${pkgdatadir}/${themessubdir}/$$theme ; \ |
$(mkinstalldirs) ${DESTDIR}${pkgdatadir}/${themessubdir}/$$theme ; \ |
| 17 |
for files in $$theme/*; do \ |
(cd ${srcdir}/$$theme; for files in *; do \ |
| 18 |
test -f $$files && ${INSTALL_DATA} $$files ${DESTDIR}${pkgdatadir}/${themessubdir}/$$files ; \ |
test -f $$files && ${INSTALL_DATA} $$files ${DESTDIR}${pkgdatadir}/${themessubdir}/$$theme/$$files ; \ |
| 19 |
done \ |
done ) \ |
| 20 |
fi \ |
fi \ |
| 21 |
done |
done |
| 22 |
|
|