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)
22 $(POD2MAN) --section=1 $*.pod > $@
26 install-data-hook: $(MAN1GROFF)
27 $(INSTALL) -d $(mandir)/man1
28 $(INSTALL) -m 644 $(MAN1GROFF) $(mandir)/man1
31 (cd $(mandir)/man1/; rm -f $(MAN1GROFF))
36 -rm $(TEXTFILES) $(MAN1GROFF)
38 include $(top_srcdir)/Documentation/Rules.make