Here's a patch that adds a special target (tentatively called
"web-gop") to the **main** makefile.  I think we'll want something
like this for the actual server, although obviously we'd need to
change the examples/ rule in Documentation/GNUmakefile.

My first patch only added it to Documentation/GNUmakefile, but
when I thought about the actual website server, I thought that the
main makefile was a better place to put it.

The images on the generated website don't point to the right dir,
but that's a general problem with anything in
Documentation/out-www.  :(

Cheers,
- Graham
>From c2f37c11639066a040be2145f53b9bce700ce3a2 Mon Sep 17 00:00:00 2001
From: Graham Percival <gperc...@sapphire.(none)>
Date: Fri, 28 Aug 2009 02:45:31 +0100
Subject: [PATCH] Build: add a special target for the split website portion of the docs.

---
 GNUmakefile.in |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 123684c..84702bc 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -234,6 +234,14 @@ grand-replace:
 	$(MAKE) -C scripts/build
 	PATH=$(buildscript-dir):$(PATH) $(buildscript-dir)/grand-replace
 
+
+################################################################
+# website (without the rest of the docs)
+web-gop:
+	touch Documentation/general.texi
+	cd Documentation && make out=www out-www/general/index.html
+
+
 ################################################################
 # testing
 
-- 
1.5.6.5

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to