]> git.donarmstrong.com Git - lilypond.git/commitdiff
* buildscripts/mutopia-index.py (headertext_nopics): Add missing
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 11 Jun 2002 15:05:02 +0000 (15:05 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 11 Jun 2002 15:05:02 +0000 (15:05 +0000)
variable.

* GNUmakefile.in: Forward port: Add toplevel target install-html-doc.
Bugfixes for --srcdir html-doc build.

* make/lilypond-vars.make (LILYPOND_BOOK_INCLUDES): Forward port:
Bugfix: Include $(builddir)/mf/out (was $(srcdir)/mf/out.

ChangeLog
Documentation/windows/GNUmakefile
Documentation/windows/compiling.texi
GNUmakefile.in
buildscripts/mutopia-index.py
input/test/american-chords.ly
make/lilypond-vars.make
mf/GNUmakefile
stepmake/stepmake/metafont-rules.make
stepmake/stepmake/topdocs-targets.make

index ae79a81e7d02a4ffa7b5f65f5854659fa9421974..44561f31d0c462da991acd2e36948717e9dff7d6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2002-06-11  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * buildscripts/mutopia-index.py (headertext_nopics): Add missing
+       variable.
+
+       * Documentation/windows/lilypond.hint: Renamed (previously setup.hint).
+
+       * Documentation/windows/lilypond-doc.hint: New file.
+
+       * GNUmakefile.in: Forward port: Add toplevel target install-html-doc.
+       Bugfixes for --srcdir html-doc build.
+       
+       * make/lilypond-vars.make (LILYPOND_BOOK_INCLUDES): Forward port:
+       Bugfix: Include $(builddir)/mf/out (was $(srcdir)/mf/out.
+
 2002-06-10  Han-Wen  <hanwen@cs.uu.nl>
 
        * ly/script-init.ly (pralldown): add some scripts.
index 0416dff9a9b436cc9bf08180922f66989e1ffb6a..f9d3b46a46e69f81e3f3efcbde5a884b4d2bba20 100644 (file)
@@ -1,7 +1,7 @@
 
 depth=../..
 
-EXTRA_DIST_FILES = LilyPond.ico $(wildcard *.sh *.patch) setup.hint
+EXTRA_DIST_FILES = LilyPond.ico $(wildcard *.sh *.patch *.hint)
 
 STEPMAKE_TEMPLATES=documentation texinfo install install-out
 
index 39db06541cceb1568498d8ff04485d2f199cb555..7eeb9f26962a19691675fe58c813f1bb4eee8278 100644 (file)
@@ -74,6 +74,12 @@ introduction of the bzip2 feature.  Here's how I did it:
     cp -pv setup.exe $CYGWIN/dist/cygwin-1.3.6/new-setup.exe
     strip $CYGWIN/dist/cygwin-1.3.6/new-setup.exe
 @end example
+
+@ignore
+new setup:
+
+
+@end ignore
 @end quotation
 @item @var{--prefix=/usr/lilypond-x.y.x}
 The standard binary installation installs LilyPond into its own prefix.
index 1313689a2c8815dbdc3b67f34d620ef9e3c50cf6..59f5316166d0ddf28821ad2583ee7033b828ef92 100644 (file)
@@ -35,23 +35,30 @@ footify:
        $(footify) --index=./ `$(FIND) . -maxdepth 1 -name '*.html' -print`
        $(footify-all-command)
 
-
 fonts:
        $(MAKE) -C $(depth)/mf
 
 doc: lily fonts
        $(MAKE) -C Documentation
 
-web-doc: pfa-fonts
+web-doc:  pfa-fonts
        $(MAKE) out=www -C Documentation WWW
        $(MAKE) footify
 
+pfa-fonts:
+       $(MAKE) MAKE_PFA_FILES=1 -C mf
+
+docdir = $(prefix)/share/doc/lilypond-$(TOPLEVEL_VERSION)
+install-html-doc: html-doc
+       $(INSTALL) -d $(docdir)/html 
+       tar -C $(docdir)/html -zxf $(outdir)/web.tar.gz
+
 # KPATHSEA=0: Hack for compiling without kpathsea -- not recommended
 my_tfm_path = $(TFM_PATH) /tmp /tmp /tmp /tmp /tmp /tmp 
 
 
 local-install:
-       mkdir -p $(datadir)
+       $(INSTALL) -d $(datadir)
 ifeq ($(KPATHSEA),0)
        $(foreach i, 1 2 3 4 5, rm -f $(datadir)/tfm.$(i); $(LN_S) $(word $(i), $(my_tfm_path)) $(datadir)/tfm.$(i) ; )
 endif
@@ -59,8 +66,6 @@ endif
 
 TOP_HTMLS = index.html short-examples.html long-examples.html
 
-index: web-doc
-
 short-examples: pfa-fonts
        $(MAKE) out=www -C input WWW
        $(PYTHON) $(buildscript-dir)/mutopia-index.py -o short-examples.html input/
@@ -70,9 +75,6 @@ long-examples: pfa-fonts
        $(MAKE) out=www -C mutopia WWW
        $(PYTHON) $(buildscript-dir)/mutopia-index.py -o long-examples.html mutopia/
 
-pfa-fonts:
-       $(MAKE) MAKE_PFA_FILES=1 -C mf
-
 lily: lily/$(outdir)/lilypond
 
 lily/$(outdir)/lilypond:
@@ -81,8 +83,8 @@ lily/$(outdir)/lilypond:
 local-web: fontpaths fonts lily $(TOP_HTMLS:%.html=%) footify do-top-doc top-web
 
 top-web:
-       rm -f `find . -name \*.html~ -print`
-       find `find Documentation input mutopia *.png index.html -type d -name 'out-www'` \
+       cd $(builddir) && rm -f `find . -name \*.html~ -print`
+       cd $(builddir) && find `find Documentation input mutopia -type d -name 'out-www'` \
                -not -name '*.dvi' -not -name '*ly' -not -name '*.tex' \
                -not -name '*.ps' -not -name '*.eps' -not -name '*pk' \
                -not -name '*.aux' -not -name '*.cp' -not -name '*.fn' \
@@ -90,14 +92,17 @@ top-web:
                -not -name '*.pg' -not -name '*.tmp' -not -name '*.toc' \
                -not -name '*.fns' -not -name '*.cps' -not -name '*.nexi' \
                -not -name '*.texi' -not -name '*.texidoc' -not -name '*.tp' \
+               -not -name '*.pdfps' -not -name '*.eps.bbox' \
                -not -name '*.log' -not -name 'out-www' -not -name '*.dep' \
            > $(outdir)/weblist
-       ls *.png *.html >> $(outdir)/weblist
-       cat $(outdir)/weblist | GZIP=-9v tar -czf $(outdir)/web.tar.gz  -T -
+       cd $(builddir) && ls *.png *.html >> $(outdir)/weblist
+       cat $(outdir)/weblist | (cd $(builddir); GZIP=-9v tar -czf $(outdir)/web.tar.gz  -T -)
 
 #WWW: local-WWW
 
+html-doc: local-web
 web: local-web
+index: local-web
 
 local-WWW-clean: top-WWW-clean
 
index 2e5d3b5e35ce558d830ca22bfb8f91932c4c4442..0faeb5ea069d414242513c9667131aec7e19815c 100644 (file)
@@ -65,6 +65,9 @@ browser.
 the postscript files.
 """
 
+headertext_nopics= r"""
+<p>Nothing to be seen here, move along.
+"""
 
 #
 # FIXME breaks on multiple strings.
index 10bc55226e99eac7bb92d2413b76334fe606e030..eb3f03ec49aa388b9752e4718bf1d6e2944da73c 100644 (file)
@@ -9,8 +9,7 @@
 #(set! chord::names-alist-american
       (append 
       '(
-        any changes here, see scm/chord-name.scm
-
+        ;; any changes here, see scm/chord-name.scm
        )
       chord::names-alist-american))
 
index d4af8034254559c685b889b2efeb9a263f7f0edd..42c97215f75ebb6617360c8dab4c6c725dff8ef3 100644 (file)
@@ -37,7 +37,7 @@ ABC2LY = $(script-dir)/abc2ly.py
 CONVERT_LY = $(script-dir)/convert-ly.py
 LILYPOND = $(depth)/$(builddir)/lily/$(outconfbase)/lilypond
 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
-LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/ -I $(topdir)/mf/out -I $(topdir)/mf/$(outdir)/
+LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/ -I $(depth)/$(builddir)/mf/out -I $(depth)/$(builddir)/mf/$(outdir)/
 LY2DVI = $(script-dir)/ly2dvi.py
 LYS_TO_TELY = $(buildscript-dir)/lys-to-tely.py
 PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh
index b4dccfed47056aeeca03c0e28ce2564e97aa57a6..f8cbfc0f6acd8b219d968e0dcecdbd9baf4e7a4c 100644 (file)
@@ -68,10 +68,6 @@ INSTALLATION_OUT_FILES5=$(outdir)/lilypond.map
 
 endif
 
-export MFINPUTS:=.:$(MFINPUTS)
-
-default: $(ALL_GEN_FILES)
-
 $(outdir)/lilypond.map: 
        echo $(FONT_FILES:.mf=) | tr ' ' '\n' | \
                sed 's/\(.*\)/\1 \1 <\1.pfa/' > $@
@@ -79,6 +75,11 @@ $(outdir)/lilypond.map:
 $(outdir)/fonts.scale:
        echo $(FONT_FILES:.mf=.pfa) | $(PYTHON) $(topdir)/buildscripts/make-font-dir.py  > $@
 
+
+export MFINPUTS:=.:$(MFINPUTS)
+
+default: $(ALL_GEN_FILES)
+
 ##
 ## todo: this also depends on .tfm, FIXME.
 $(outdir)/%.afm  $(outdir)/%.enc  $(outdir)/%.tex $(outdir)/%.dep: $(outdir)/%.log 
index ffc021aab97592092e66307d3f545780125dabb6..888dda8a44659cbf454421f3dbcd38d3a0f3f18f 100644 (file)
@@ -33,7 +33,7 @@ $(outdir)/%.pfa: %.mf
        mv $(basename $(@F)).pfa $(outdir)
 
 $(outdir)/%.pfb: %.mf
-       pktrace  -I $(outdir)/ --pfb --simplify --keep-trying  $(basename $(@F))
+       pktrace -I $(outdir)/ --pfb --simplify --keep-trying  $(basename $(@F))
        mv $(basename $(@F)).pfb $(outdir)
 
 #%.afm:
index fd64b837c6adf1152f641b16583699a971fb848b..ebb99358d02b711ad2dada1b56ebea306fb063b6 100644 (file)
@@ -3,8 +3,9 @@ default: local-doc
 
 copy-to-top:  $(TO_TOP_FILES)
        $(foreach i, $(TO_TOP_FILES), \
-         cp $(i) $(depth)/ && ) true
-       -cp $(outdir)/*png $(outdir)/index.html $(depth)  # don't fail if not making website
+         cp $(i) $(depth)/$(builddir) && ) true
+       -cp $(outroot)/out-www/*png $(outroot)/out-www/index.html $(depth)/$(builddir)  
+       -cp $(outdir)/*png $(outdir)/index.html $(depth)/$(builddir)  # don't fail when not making website
 
 local-WWW: $(HTML_FILES) copy-to-top
 # we want footers even if website builds (or is built) partly