cookbook: Fix build so CSS files get installed
authorElliot Smith <elliot.smith@intel.com>
Tue, 6 Jul 2010 15:22:47 +0000 (16:22 +0100)
committerElliot Smith <elliot.smith@intel.com>
Tue, 6 Jul 2010 16:20:39 +0000 (17:20 +0100)
I had changed the build so CSS files get put into
the HTML build directory; but done it in such
a way that they were then being ignored during
install. Fixed this.

doc/cookbook/Makefile.am

index b34c0a4..30f98d6 100644 (file)
@@ -26,6 +26,7 @@ XSL_BASE_URI  = http://docbook.sourceforge.net/release/xsl/current
 XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
 
 HTML_FILES = html/*.html
+CSS_FILES = html/*.css
 IMAGE_FILES = images/clutter-logo.png
 
 EXTRA_DIST = clutter-cookbook.xml.in $(IMAGE_FILES) $(XML_FILES)
@@ -72,7 +73,7 @@ install-data-local:
        then echo '-- Nothing to install' ; \
        else \
          $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) ; \
-         for file in `ls $(HTML_FILES)`; do \
+         for file in `ls $(HTML_FILES) $(CSS_FILES)`; do \
            if [ -f $$file ]; then \
              basefile=`echo $$file | sed -e 's,^.*/,,'`; \
              $(INSTALL_DATA) $$file $(DESTDIR)$(TARGET_DIR)/$$basefile; \