]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile.am.wild
partial: 0.1.57.jcn
[lilypond.git] / Documentation / Makefile.am.wild
1 # Documentation/Makefile.am.wild
2
3 DOCFILES = $(wildcard *.doc)
4 PODFILES = $(wildcard *.pod)
5 OUTPODFILES = $(PODFILES)
6 TEXTFILES = $(OUTPODFILES:.pod=.txt)
7 GROFFFILES = $(OUTPODFILES:.pod=.1)
8 HTMLFILES = $(OUTPODFILES:.pod=.html)
9 DVIFILES = $(DOCFILES:.doc=.dvi)
10
11 XPMS = $(wildcard *.xpm)
12 giffiles = $(XPMS:.xpm=.gif)
13
14 EXTRA_DIST = Makefile.am.wild Rules.make $(XPMS) $(DOCFILES) $(PODFILES) vocabulary-data vocabulary-forms.el fonts.tex
15
16 MAN1FILES = lilypond convert-mudela mi2mu mudela-book ly2dvi
17 MAN1GROFF = $(addsuffix .1,$(MAN1FILES))
18
19 default: all $(TEXTFILES)
20
21 %.1: %.pod
22         $(POD2MAN) --section=1 $*.pod > $@
23
24 outdir = .
25
26 install-data-hook: $(MAN1GROFF)
27         $(INSTALL) -d $(mandir)/man1
28         $(INSTALL) -m 644 $(MAN1GROFF) $(mandir)/man1
29
30 uninstall-hook:
31         (cd  $(mandir)/man1/; rm -f $(MAN1GROFF))
32
33 html: $(HTMLFILES)
34
35 clean-local:
36         -rm $(TEXTFILES) $(MAN1GROFF)
37
38 include $(top_srcdir)/Documentation/Rules.make