summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorJulien Rioux <jrioux@physics.utoronto.ca>2012-03-19 09:44:20 -0400
committerJulien Rioux <jrioux@physics.utoronto.ca>2012-03-26 08:06:11 -0400
commitc8081a4fa115c8759180e8fa9dd093a013a04576 (patch)
treed51a7dd67ee029966454b406e16f6cda3f961b5d /make
parente596097f68364bc4697c5b833bc589a6221817c8 (diff)
Add old announcements, news and changelogs to the website.
Update make/website.make to include old announcements. Their new home is at lilypond.org/website/misc.
Diffstat (limited to 'make')
-rw-r--r--make/website.make18
1 files changed, 12 insertions, 6 deletions
diff --git a/make/website.make b/make/website.make
index 0c53f5434c..ce7627b720 100644
--- a/make/website.make
+++ b/make/website.make
@@ -141,10 +141,8 @@ css-files = $(css-src-files:%=$(OUT)/website/css/%)
example-src-files := $(notdir $(wildcard $(EXAMPLES)/*))
example-files = $(example-src-files:%=$(OUT)/website/ly-examples/%)
-misc-files = $(OUT)/.htaccess \
- $(OUT)/website/.htaccess \
- $(OUT)/website/favicon.ico \
- $(OUT)/website/robots.txt
+misc-src-files := $(filter-out GNUmakefile,$(notdir $(wildcard $(top-src-dir)/Documentation/misc/*)))
+misc-files += $(misc-src-files:%=$(OUT)/website/misc/%)
picture-src-files := $(notdir $(wildcard $(PICTURES)/*))
picture-files = $(picture-src-files:%=$(OUT)/website/pictures/%)
@@ -154,6 +152,11 @@ pdf-files = $(pdf-src-files:%=$(OUT)/website/pdf/%)
post-files = $(OUT)/website/index.html
+root-files = $(OUT)/.htaccess \
+ $(OUT)/website/.htaccess \
+ $(OUT)/website/favicon.ico \
+ $(OUT)/website/robots.txt
+
texinfo-files = $(OUT)/index.html $(WEB_LANGS:%=$(OUT)/%/index.html)
version-files = $(OUT)/version.itexi $(OUT)/weblinks.itexi
@@ -182,7 +185,7 @@ website-css: $(OUT)/website/css $(css-files)
website-examples: $(OUT)/website/ly-examples $(example-files)
-website-misc: $(OUT)/website $(misc-files)
+website-misc: $(OUT)/website $(OUT)/website/misc $(misc-files) $(root-files)
website-pictures: $(OUT)/website/pictures $(OUT)/pictures $(picture-files)
@@ -204,7 +207,7 @@ website-xrefs: website-version $(OUT) $(xref-files)
### Rules
# Directories
-$(OUT) $(OUT)/website $(OUT)/website/css $(OUT)/website/ly-examples $(OUT)/website/pictures $(OUT)/website/pdf: %:
+$(OUT) $(OUT)/website $(OUT)/website/css $(OUT)/website/ly-examples $(OUT)/website/misc $(OUT)/website/pdf $(OUT)/website/pictures: %:
mkdir -p $@
$(OUT)/pictures: $(OUT)/website/pictures
@@ -271,6 +274,9 @@ $(css-files): $(OUT)/website/css/%: $(top-src-dir)/Documentation/css/%
$(example-files): $(OUT)/website/ly-examples/%: $(EXAMPLES)/%
cp $< $@
+$(misc-files): $(OUT)/website/misc/%: $(top-src-dir)/Documentation/misc/%
+ cp $< $@
+
$(picture-files): $(OUT)/website/pictures/%: $(PICTURES)/%
cp $< $@