]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/documentation-targets.make
* Documentation/header.html.in (src): tweaks.
[lilypond.git] / stepmake / stepmake / documentation-targets.make
index fc2d648a1f347407ace210535bbb66c28a64ce04..b8eabaed77c75833e00df0bb9affd98186ed0e49 100644 (file)
@@ -1,32 +1,24 @@
 
 default:
 
-do-doc: $(OUTTXT_FILES) 
+# UGH. 
+include $(stepdir)/www-targets.make
 
+local-WWW: $(OUTHTML_FILES) 
 
-local-WWW: $(OUTHTML_FILES)
-       echo $^ > $(depth)/wwwlist
+# why isn't this in texinfo-targets?
+INFO_INSTALL_FILES = $(wildcard $(addsuffix *, $(INFO_FILES)))
 
-doc: do-doc
+# should we call install-info?
+INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(DESTDIR)$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_INSTALL_FILES)" -f $(stepdir)/install-out.sub.make
 
+local-install: install-info
+local-uninstall: uninstall-info
 
-footify:
-       $(footify) $(sort $(wildcard $(outdir)/*.html out/*.html out-www/*.html))
-
-# what to do here?
-ifeq (a,b) 
-
-$(outdir)/$(package).info: $(outdir)/topinfo.texinfo $(OUTTEXINFO_FILES)
-       $(MAKEINFO) --force -o $@ $(outdir)/topinfo.texinfo
-
-
-INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_FILES)" -f $(stepdir)/install-out.sub.make $@
-
-localinstall: # $(INFO_FILES)
-       -$(INSTALL) -d $(infodir)
-       $(INFOINSTALL)
-localuninstall:
-       $(INFOINSTALL)
-
-endif
+install-info: $(INFO_FILES)
+       -$(INSTALL) -d $(DESTDIR)$(infodir)
+       $(INFOINSTALL) local-install
 
+uninstall-info:
+       $(INFOINSTALL) local-uninstall
+       -rmdir $(infodir)