]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile
release: 0.1.59
[lilypond.git] / Documentation / Makefile
1 # Documentation/Makefile
2
3 # subdir level:
4 #
5 depth = ..
6 #
7
8 # identify module:
9 #
10 NAME = Documentation
11 SUBDIRS=man
12
13 #
14
15 # generic variables:
16 #
17 include ./$(depth)/make/Variables.make 
18 include ./$(depth)/make/Version.make
19 include ./$(depth)/make/Files.make 
20 include ./$(depth)/make/Docrules.make
21 #
22
23
24 #
25 DOCFILES = $(wildcard *.doc)
26 OUTPODFILES = $(addprefix $(outdir)/,$(PODFILES))
27 BIBFILES= $(wildcard *.bib)
28 TEXTFILES = $(OUTPODFILES:.pod=.txt)
29 GROFFFILES = $(OUTPODFILES:.pod=.1)
30 HTMLFILES = $(OUTPODFILES:.pod=.html)
31 DVIFILES = $(addprefix $(outdir)/, $(DOCFILES:.doc=.dvi))
32
33
34 default: do-doc
35 #
36 # list of distribution files:
37 #
38 XPMS=$(wildcard *.xpm)
39 giffiles=$(XPMS:.xpm=.gif)
40
41 gifs: $(addprefix $(outdir)/, $(giffiles))
42
43
44 EXTRA_DISTFILES = $(XPMS)  $(DOCFILES)  vocabulary-data vocabulary-forms.el fonts.tex automake.urgh $(BIBFILES)
45
46 # don't do DVI files. They can only be made if lily is installed
47 do-doc: $(TEXTFILES)
48
49 html: $(HTMLFILES)
50
51 dvi: $(DVIFILES)
52
53 # generic targets and rules:
54 #
55 include $(depth)/make/Targets.make
56 include $(depth)/make/Rules.make