1 # Documentation/Makefile
16 include ./$(depth)/make/Variables.make
17 include ./$(depth)/make/Version.make
18 include ./$(depth)/make/Files.make
24 DOCFILES = $(wildcard *.doc)
25 OUTPODFILES = $(addprefix $(outdir)/,$(PODFILES))
26 TEXTFILES = $(OUTPODFILES:.pod=.text)
27 GROFFFILES = $(OUTPODFILES:.pod=.1)
28 HTMLFILES = $(OUTPODFILES:.pod=.html)
29 DVIFILES = $(addprefix $(outdir)/, $(DOCFILES:.doc=.dvi))
32 # list of distribution files:
34 EXTRA_DISTFILES = lelie_icon.gif lelie_logo.gif $(DOCFILES)
38 # don't do DVI files. They can only be made if lily is installed
44 $(lily_bindir)/make_website
48 # generic targets and rules:
50 include $(depth)/make/Targets.make
51 include $(depth)/make/Rules.make
55 rm -f $(TEXTFILES) $(HTMLFILES) $(GROFFFILES)
57 MAN1FILES = lilypond convert-mudela mi2mu mudela-book
58 MAN1GROFF = $(addprefix $(outdir)/, $(addsuffix .1,$(MAN1FILES)))
60 localinstall: $(outdir)/lilypond.1
61 $(INSTALL) -d $(mandir)/man1
62 $(INSTALL) -m 644 $(MAN1GROFF) $(mandir)/man1
66 (cd $(mandir)/man1/; rm -f $(MAN1GROFF))