summaryrefslogtreecommitdiff
path: root/make/website.make
diff options
context:
space:
mode:
authorJulien Rioux <jrioux@physics.utoronto.ca>2011-10-16 07:04:17 -0400
committerGraham Percival <graham@percival-music.ca>2011-10-25 01:12:38 +0100
commit7a5ed5ba18cd1b11b9468e6e6d45ab1c8987923a (patch)
tree2c8e2bfd9b9d9389c6ccf834e4b5be38a686ce99 /make/website.make
parentf299c35871038f6d0c959935dcf5f81e29372b86 (diff)
Centralize the css files and fix the links to css files (issue 983).
Put them in Documentation/css.
Diffstat (limited to 'make/website.make')
-rw-r--r--make/website.make8
1 files changed, 4 insertions, 4 deletions
diff --git a/make/website.make b/make/website.make
index 0b164e44a8..3bb0faca53 100644
--- a/make/website.make
+++ b/make/website.make
@@ -106,7 +106,7 @@ MANUALS_BASE = $(basename $(MANUALS) $(MANUALS_WEB))
bib-files = $(OUT)/others-did.itexi $(OUT)/we-wrote.itexi
css-src-files := $(notdir $(wildcard $(top-src-dir)/Documentation/css/*.css))
-css-files = $(css-src-files:%=$(OUT)/website/%)
+css-files = $(css-src-files:%=$(OUT)/website/css/%)
example-src-files := $(notdir $(wildcard $(EXAMPLES)/*))
example-files = $(example-src-files:%=$(OUT)/website/ly-examples/%)
@@ -139,7 +139,7 @@ website: website-post website-examples website-pictures website-css website-misc
website-bibs: website-version $(OUT) $(bib-files)
-website-css: $(OUT)/website $(css-files)
+website-css: $(OUT)/website/css $(css-files)
website-examples: $(OUT)/website/ly-examples $(example-files)
@@ -163,7 +163,7 @@ website-xrefs: website-version $(OUT) $(xref-files)
### Rules
# Directories
-$(OUT) $(OUT)/website $(OUT)/website/ly-examples $(OUT)/website/pictures: %:
+$(OUT) $(OUT)/website $(OUT)/website/css $(OUT)/website/ly-examples $(OUT)/website/pictures: %:
mkdir -p $@
$(OUT)/pictures: $(OUT)/website/pictures
@@ -224,7 +224,7 @@ $(OUT)/website/index.html: $(wildcard $(OUT)/*.html)
$(WEB_POST) $(OUT)/website
# Simple copy
-$(css-files): $(OUT)/website/%: $(top-src-dir)/Documentation/css/%
+$(css-files): $(OUT)/website/css/%: $(top-src-dir)/Documentation/css/%
cp $< $@
$(example-files): $(OUT)/website/ly-examples/%: $(EXAMPLES)/%