]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/Makefile
release: 0.1.60
[lilypond.git] / Documentation / Makefile
index 817fbeb423c5e76e29570b95643cddedfce4ea2b..44f2d7792e401d9bd9029b852297a205f2f1d20d 100644 (file)
@@ -8,6 +8,7 @@ depth = ..
 # identify module:
 #
 NAME = Documentation
+SUBDIRS=man tex
 
 #
 
@@ -16,46 +17,35 @@ NAME = Documentation
 include ./$(depth)/make/Variables.make 
 include ./$(depth)/make/Version.make
 include ./$(depth)/make/Files.make 
+include ./$(depth)/make/Docrules.make
 #
 
-#
 
-OUTPODFILES = $(patsubst %,$(outdir)/%,$(PODFILES))
-TEXTFILES = $(OUTPODFILES:.pod=.text)
+#
+TEXTFILES = $(OUTPODFILES:.pod=.txt)
 GROFFFILES = $(OUTPODFILES:.pod=.1)
 HTMLFILES = $(OUTPODFILES:.pod=.html)
-#
 
-# list of distribution files:
+
+
+default: do-doc
 #
-EXTRA_DISTFILES = lelie_icon.gif lelie_logo.gif
+# list of distribution files:
 #
+XPMS=$(wildcard *.xpm)
+giffiles=$(XPMS:.xpm=.gif)
 
-default: do-doc
+gifs: $(addprefix $(outdir)/, $(giffiles))
 
-do-doc: $(TEXTFILES)
 
-html: $(pod)
-       pod2html
+EXTRA_DISTFILES = $(XPMS)   vocabulary-data vocabulary-forms.el  automake.urgh
 
-htmldist: html
-       ./$(lily_bindir)/make_website
+# don't do DVI files. They can only be made if lily is installed
+do-doc: $(TEXTFILES)
 
+html: $(HTMLFILES)
 
 # generic targets and rules:
 #
-include ./$(depth)/make/Targets.make
-include ./$(depth)/make/Rules.make
-#
-
-localclean:
-       rm -f $(TEXTFILES) $(HTMLFILES) $(GROFFFILES)
-
-localinstall: $(outdir)/lilypond.1 $(outdir)/mudela.5
-       $(INSTALL) -d $(mandir)/man5
-       $(INSTALL) -d $(mandir)/man1
-       $(INSTALL) -m 755 $(outdir)/lilypond.1 $(mandir)/man1
-       $(INSTALL) -m 755 $(outdir)/mudela.5 $(mandir)/man5
-localuninstall:
-       rm -f $(mandir)/man1/lilypond.1
+include $(depth)/make/Targets.make
+include $(depth)/make/Rules.make