graveman-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Graveman-cvs] Changes to graveman/current/themes/Makefile.am


From: sylvain cresto
Subject: [Graveman-cvs] Changes to graveman/current/themes/Makefile.am
Date: Tue, 19 Apr 2005 21:00:46 -0400

Index: graveman/current/themes/Makefile.am
diff -u graveman/current/themes/Makefile.am:1.1 
graveman/current/themes/Makefile.am:1.2
--- graveman/current/themes/Makefile.am:1.1     Tue Apr 12 23:32:08 2005
+++ graveman/current/themes/Makefile.am Wed Apr 20 01:00:31 2005
@@ -1,20 +1,21 @@
 ## ./themes/Makefile.am of graveman
 
 themessubdir = themes
-themes = default
+themes = default pan
 
 all:
-       @echo "Themes will be installed with 'make install'"
+       @echo "Themes will be installed with 'make install' in 
'${DESTDIR}${pkgdatadir}/${themessubdir}'"
        @true
 
 install:
-       $(mkinstalldirs) ${DESTDIR}${pkgdatadir}/themes
-       for theme in ${themes}; do \
+       @echo "Installing themes in '${DESTDIR}${pkgdatadir}/${themessubdir}'"
+       @$(mkinstalldirs) ${DESTDIR}${pkgdatadir}/${themessubdir}
+       @for theme in ${themes}; do \
          if test -d $$theme && test -f $$theme/graveman; then \
            echo "Installing '$$theme' theme ..." ; \
-           $(mkinstalldirs) ${DESTDIR}${pkgdatadir}/themes/$$theme ; \
+           $(mkinstalldirs) ${DESTDIR}${pkgdatadir}/${themessubdir}/$$theme ; \
            for files in $$theme/*; do \
-             ${INSTALL_DATA} $$files 
${DESTDIR}${pkgdatadir}/${themessubdir}/$$theme ; \
+             test -f $$files && ${INSTALL_DATA} $$files 
${DESTDIR}${pkgdatadir}/${themessubdir}/$$files ; \
            done \
          fi \
        done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]