]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile
release: 0.1.64
[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 DATAFILES = $(wildcard *.data)
26 TEXTFILES = $(OUTPODFILES:.pod=$(DOTTEXT))
27 GROFFFILES = $(OUTPODFILES:.pod=.1)
28 HTMLFILES = $(OUTPODFILES:.pod=.html) $(datafiles)
29
30 default: 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 datafiles = $(addprefix $(outdir)/,$(DATAFILES:.data=.html))
41
42 EXTRA_DISTFILES = $(XPMS) vocabulary.data vocabulary-forms.el  automake.urgh\
43         gnu-music-history
44
45 # don't do DVI files. They can only be made if lily is installed
46 do-doc: $(TEXTFILES)
47
48 readme-topfiles:
49         cd $(depth); for i in $(README_TOPFILES); do \
50         ln -f $$i Documentation/$(outdir)/$$i$(DOTTEXT); done
51
52 README_TOPFILES=NEWS DEDICATION TODO ANNOUNCE-0.1
53 README_TXTFILES=$(addprefix $(outdir)/,$(addsuffix $(DOTTEXT), $(README_TOPFILES)))
54
55 local-WWW: $(HTMLFILES) readme-topfiles $(README_TXTFILES) $(giffiles)
56
57 # generic targets and rules:
58 #
59 include $(depth)/make/Targets.make
60 include $(depth)/make/Rules.make
61
62 # ugh
63 check-doc-deps: do-doc
64         @echo # hi
65
66 doc: do-doc
67