cookbook: Fix build so CSS files get installed
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.
This commit is contained in:
parent
e566c56bd1
commit
7c67903a44
1 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@ XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current
|
||||||
XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
|
XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
|
||||||
|
|
||||||
HTML_FILES = html/*.html
|
HTML_FILES = html/*.html
|
||||||
|
CSS_FILES = html/*.css
|
||||||
IMAGE_FILES = images/clutter-logo.png
|
IMAGE_FILES = images/clutter-logo.png
|
||||||
|
|
||||||
EXTRA_DIST = clutter-cookbook.xml.in $(IMAGE_FILES) $(XML_FILES)
|
EXTRA_DIST = clutter-cookbook.xml.in $(IMAGE_FILES) $(XML_FILES)
|
||||||
|
@ -72,7 +73,7 @@ install-data-local:
|
||||||
then echo '-- Nothing to install' ; \
|
then echo '-- Nothing to install' ; \
|
||||||
else \
|
else \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) ; \
|
$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) ; \
|
||||||
for file in `ls $(HTML_FILES)`; do \
|
for file in `ls $(HTML_FILES) $(CSS_FILES)`; do \
|
||||||
if [ -f $$file ]; then \
|
if [ -f $$file ]; then \
|
||||||
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
|
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(TARGET_DIR)/$$basefile; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(TARGET_DIR)/$$basefile; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue