]> git.donarmstrong.com Git - lilypond.git/commitdiff
Make scripts/build in web(-1) instead of WWW-post
authorJohn Mandereau <john.mandereau@gmail.com>
Sat, 10 Jan 2009 15:31:59 +0000 (16:31 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Sat, 10 Jan 2009 15:31:59 +0000 (16:31 +0100)
Reason: web and web-1 are end-user targets, whereas
WWW* targets are for hackers and internal use.

GNUmakefile.in
stepmake/stepmake/generic-targets.make

index 36ade426bdd469360634b07d0dc50b8a3336abf8..d405a7668a197d57e4a5eedbef98ac35c74a483b 100644 (file)
@@ -88,7 +88,6 @@ WEB_TARGETS = offline
 
 WWW-post:
 # need UTF8 setting in case this is hosted on a website.
-       $(MAKE) -C scripts/build out=
        echo -e 'AddDefaultCharset utf-8\nAddCharset utf-8 .html\nAddCharset utf-8 .en\nAddCharset utf-8 .nl\nAddCharset utf-8 .txt\n' > $(top-build-dir)/.htaccess
        $(buildscript-dir)/mutopia-index -o $(outdir)/examples.html input/
        find $(outdir) -name '*-root' | xargs rm -rf
index b73dfa56b05423981b66104d1ffb195854578560..41f96567c73408d5c7c1b6b054f79b8656846f72 100644 (file)
@@ -187,12 +187,12 @@ WWW-1: local-WWW-1
 WWW-2: local-WWW-2
        $(LOOP)
 
-web:
-       $(MAKE) out=www WWW-1
+web: web-1
        $(MAKE) out=www WWW-2
        $(MAKE) out=www WWW-post
 
 web-1:
+       $(MAKE) -C $(depth)/scripts/build out=
        $(MAKE) out=www WWW-1
 
 web-clean: