]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile
release: 0.1.62
[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 tex 
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 TEXTFILES = $(OUTPODFILES:.pod=.txt)
26 GROFFFILES = $(OUTPODFILES:.pod=.1)
27 HTMLFILES = $(OUTPODFILES:.pod=.html)
28
29
30 default: all do-doc
31
32 #
33 # list of distribution files:
34 #
35 XPMS=$(wildcard *.xpm)
36 giffiles = $(addprefix $(outdir)/,$(XPMS:.xpm=.gif))
37
38 gifs: $(giffiles)
39
40 EXTRA_DISTFILES = $(XPMS)   vocabulary-data vocabulary-forms.el  automake.urgh\
41         gnu-music-history
42
43 # don't do DVI files. They can only be made if lily is installed
44 do-doc: $(TEXTFILES)
45
46
47 $(outdir)/%.txt: $(depth)/%
48         -rm $@
49         ln $< $@
50
51 README_TOPFILES=NEWS DEDICATION TODO ANNOUNCE-0.1
52 README_TXTFILES=$(addprefix $(outdir)/,$(addsuffix .txt, $(README_TOPFILES)))
53
54 local-WWW: $(HTMLFILES) $(README_TXTFILES)  $(giffiles)
55
56 # generic targets and rules:
57 #
58 include $(depth)/make/Targets.make
59 include $(depth)/make/Rules.make
60