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