]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/texinfo-targets.make
Merge branch 'master' into dev/texi2html
[lilypond.git] / stepmake / stepmake / texinfo-targets.make
index 8f421dfedcc9d52496cb51d943ab5faa58369427..8b6669af21a28dcb24a68a297c5d4ee821656f5a 100644 (file)
@@ -2,7 +2,7 @@
 
 default: $(INFO_FILES)
 
-local-WWW: $(addprefix $(outdir)/,$(TEXI_FILES:.texi=.html))
+local-WWW-2: $(addprefix $(outdir)/,$(TEXI_FILES:.texi=.html))
 
 local-doc: $(OUTTXT_FILES)
 
@@ -20,6 +20,11 @@ install-info: $(INFO_FILES)
 uninstall-info:
        $(INFO_INSTALL_COMMAND) local-uninstall
 
+ifeq ($(INFO_FILES),)
+local-install-info:
+local-uninstall-info:
+
+else # $(INFO_FILES) non empty
 # There are two modes for info: with and without images.
 ifeq ($(out),www)
 
@@ -87,6 +92,7 @@ endif # installing into standard /usr/* root# installing into /usr/...
 
 endif # out!=www
 
+endif # $(INFO_FILES) non empty
 
 TEXINFO_ALL_MENUS_UPDATE_EL ='\
   (let ((error nil)\
@@ -111,4 +117,11 @@ texinfo-all-menus-update:
        -$(foreach i, $(TEXINFO_SOURCES), echo q | emacs --batch --no-site-file $(i) --eval $(TEXINFO_ALL_MENUS_UPDATE_EL); )
        $(foreach i, $(sort $(TEXINFO_SOURCES)), if diff -u $(i)~ $(i); then mv $(i)~ $(i);  fi && ) true
 
+local-help: local-texinfo-help
+
+local-texinfo-help:
+       @echo -e "\
+  info [out=www]  update Info documentation (use \`out=www' for having images)\n\
+  install-info [out=www]   install Info documentation (idem)\n\
+  texinfo-all-menus-update update node menus in Texinfo source files (use with caution)\n"