localclean:
rm -f $(TEXTFILES) $(HTMLFILES) $(GROFFFILES)
-localinstall: $(outdir)/lilypond.1
+localinstall: $(outdir)/lilypond.1 $(outdir)/mudela.5
+ $(INSTALL) -d $(mandir)/man5
$(INSTALL) -d $(mandir)/man1
- $(INSTALL) -m 755 $< $(mandir)/man1
-
+ $(INSTALL) -m 755 $(outdir)/lilypond.1 $(mandir)/man1
+ $(INSTALL) -m 755 $(outdir)/mudela.5 $(mandir)/man5
+
localuninstall:
rm -f $(mandir)/man1/lilypond.1
$(depth)/%.text: $(outdir)/%.text
cp $< $@
+$(outdir)/%.5: %.pod
+ $(pod2groff)
$(outdir)/%.1: %.pod
- pod2man --center="LilyPond documentation" --section="0"\
- --release="LilyPond $(TOPLEVEL_MAJOR_VERSION).$(TOPLEVEL_MINOR_VERSION).$(TOPLEVEL_PATCH_LEVEL)" $< > $@
+ $(pod2groff)
+
+
+
#
# outdirs:
STRIPDEBUG=true #replace to do stripping of certain objects
DISTFILES=$(EXTRA_DISTFILES) Makefile $(ALL_SOURCES)
-DOCDIR=$(depth)/doc++
+DOCDIR=$(depth)/$(outdir)
progdocs=$(allhh) $(allcc)
+pod2groff=pod2man --center="LilyPond documentation" --section="0"\
+ --release="LilyPond $(TOPLEVEL_MAJOR_VERSION).$(TOPLEVEL_MINOR_VERSION).$(TOPLEVEL_PATCH_LEVEL)" $< > $@