lilypond-0.1.57
[lilypond.git] / Documentation / Makefile.am.wild
blobaef47b08e23bc599ce64e905138e3a59a5a38835
1 # Documentation/Makefile.am.wild
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)
11 XPMS = $(wildcard *.xpm)
12 giffiles = $(XPMS:.xpm=.gif)
14 EXTRA_DIST = Makefile.am.wild Rules.make $(XPMS) $(DOCFILES) $(PODFILES) vocabulary-data vocabulary-forms.el fonts.tex
16 MAN1FILES = lilypond convert-mudela mi2mu mudela-book ly2dvi
17 MAN1GROFF = $(addsuffix .1,$(MAN1FILES))
19 default: all $(TEXTFILES)
21 %.1: %.pod
22         $(POD2MAN) --section=1 $*.pod > $@
24 outdir = .
26 install-data-hook: $(MAN1GROFF)
27         $(INSTALL) -d $(mandir)/man1
28         $(INSTALL) -m 644 $(MAN1GROFF) $(mandir)/man1
30 uninstall-hook:
31         (cd  $(mandir)/man1/; rm -f $(MAN1GROFF))
33 html: $(HTMLFILES)
35 clean-local:
36         -rm $(TEXTFILES) $(MAN1GROFF)
38 include $(top_srcdir)/Documentation/Rules.make