source dir for split and non-split manuals.
* Documentation/user/GNUmakefile (local-WWW): Do not generate
.ps.gz.
+2005-04-03 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * Documentation/user/GNUmakefile (source-links): Add symlinks to
+ source dir for split and non-split manuals.
+
+ * Documentation/user/*y: Fix @uref/@inputfile links for
+ split/non-split HTML documents.
+
+ * Documentation/user/GNUmakefile (local-WWW): Do not generate
+ .ps.gz.
+
2005-04-02 Jan Nieuwenhuizen <janneke@gnu.org>
* GNUmakefile.in: Add newline.
$(outdir)/lilypond-internals/index.html\
$(outdir)/music-glossary/index.html
+# Symlinks to refer to external source documents from split and non-split HTML
+source-links = $(outdir)/source $(outdir)/lilypond/source $(outdir)/music-glossary/source
+
+$(outdir)/source:
+ @rm -f $(@)
+ ln -sf ../../../ $(@)
+
+$(outdir)/lilypond/source:
+ @rm -f $(@)
+ ln -sf ../../../../ $(@)
+
+$(outdir)/music-glossary/source:
+ @rm -f $(@)
+ ln -sf ../../../../ $(@)
+
local-WWW: $(HTML_FILES) $(DEEP_HTML_FILES)\
- $(datafiles) $(PDF_FILES) $(PS_GZ_FILES) info info-dir
+ $(datafiles) $(PDF_FILES) $(source-links) info info-dir
local-WWW-clean: deep-WWW-clean
a big HTML page,
@end iftex
@ifhtml
-@uref{../lilypond.html, a big HTML page}
+@uref{source/Documentation/user/out-www/lilypond.html, one big page},
@end ifhtml
which can be searched easily using the search facility of a web
browser.
Various input examples.
@end ifnothtml
@ifhtml
-@uref{../../../../input/test/out-www/collated-files.html,Various input examples}.
+@c Works, but link name is not so nice; so write-out macro
+@c @inputfileref{input/test,Various input examples}.
+@uref{source/input/test/out-www/collated-files.html,Various input examples}.
@end ifhtml
@cindex snippets
The regression tests.
@end ifnothtml
@ifhtml
-@uref{../../../../input/regression/out-www/collated-files.html,The regression tests}.
+@c Works, but link name is not so nice; so write-out macro
+@c @inputfileref{input/regression,The regression tests}.
+@uref{source/input/regression/out-www/collated-files.html,The regression tests}.
@end ifhtml
This collection of files tests each notation and engraving feature of
manuals using Info. If @file{lilypond-mode} is not installed on your
platform, then read the
@ifhtml
-@uref{../../../topdocs/out-www/INSTALL.html,installation instructions}.
+@uref{source/Documentation/topdocs/out-www/INSTALL.html,installation instructions}.
@end ifhtml
@ifnothtml
installation instructions.
For @uref{http://@/www@/.vim@/.org,VIM}, a @file{vimrc} is supplied, along
with syntax coloring tools. For more information, refer to the
@ifhtml
-@uref{../../../topdocs/out-www/INSTALL.html,installation instructions}.
+@uref{source/Documentation/topdocs/out-www/INSTALL.html,installation instructions}.
@end ifhtml
@ifnothtml
installation instructions.
@end ignore
@ifhtml
-This document is also available in @uref{../lilypond.pdf,PDF}.
+This document is also available in @uref{source/Documentation/user/out-www/../lilypond.pdf,PDF}.
@end ifhtml
@c using @ref without punctuation is OK without for formats other than info
@macro internalsref{NAME}@c
+@c annoying parentheses stripped by add-html-footer.py
@ref{\NAME\,,,lilypond-internals}@c
@findex \NAME\
@end macro
+@c usage: @inputfileref{input@/regression,FILE@/-NAME.ly}
@macro inputfileref{DIR,NAME}
-@uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
+@c @uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
+@uref{\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
@end macro
@macro rglos{NAME}@c
-@c annoying parentheses
+@c annoying parentheses stripped by add-html-footer.py
@ref{\NAME\,,,music-glossary}@c
@findex \NAME\
@end macro
@end macro
@macro inputfileref{DIR,NAME}
-@uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
+@uref{source/\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
@end macro
@macro rglos{NAME}@c
@end direntry
@ifhtml
-This document is also available in @uref{music-glossary.pdf,PDF}
-and as @uref{../music-glossary.html,one big page}.
+This document is also available in @uref{source/Documentation/user/out-www/music-glossary.pdf,PDF}
+and as @uref{source/Documentation/user/out-www/music-glossary.html,one big page}.
@end ifhtml
@titlepage