]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/Makefile
release: 0.0.57
[lilypond.git] / Documentation / Makefile
index e95293e314d2206a27d98798a258c3e31792c041..542425ec77452aa95b838f750d9b90d52d334cc0 100644 (file)
@@ -8,42 +8,38 @@ depth = ..
 # identify module:
 #
 NAME = Documentation
-MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION)
-MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION)
-PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL)
-# use to send patches, always empty for released version:
-MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL)
-build = ./$(depth)/lily/.build
+
 #
 
 # generic variables:
 #
 include ./$(depth)/make/Variables.make 
+include ./$(depth)/make/Version.make
+include ./$(depth)/make/Files.make 
 #
 
-# list of source files:
 #
-PODFILES = $(shell ls *.pod)
-OUTPODFILES = $(patsubst %,$(outdir)/%,$(PODFILES))
+
+OUTPODFILES = $(addprefix $(outdir)/,$(PODFILES))
 TEXTFILES = $(OUTPODFILES:.pod=.text)
-MANFILES = $(OUTPODFILES:.pod=.1)
+GROFFFILES = $(OUTPODFILES:.pod=.1)
 HTMLFILES = $(OUTPODFILES:.pod=.html)
 #
 
 # list of distribution files:
 #
-DISTFILES = $(PODFILES) Makefile lelie_logo.png
+EXTRA_DISTFILES = lelie_icon.gif lelie_logo.gif
 #
 
 default: do-doc
-
+       true
 do-doc: $(TEXTFILES)
 
-html: $(pod)
-       pod2html
+html: $(HTMLFILES)
 
 htmldist: html
-       ./$(bindir)/make_website
+       ./$(lily_bindir)/make_website
+
 
 # generic targets and rules:
 #
@@ -51,3 +47,23 @@ include ./$(depth)/make/Targets.make
 include ./$(depth)/make/Rules.make
 #
 
+localclean:
+       rm -f out/*
+       rm -f $(TEXTFILES) $(HTMLFILES) $(GROFFFILES)
+
+MAN1FILES = lilypond convert-mudela mi2mu
+MAN1GROFF = $(addprefix $(outdir)/, $(addsuffix .1,$(MAN1FILES)))
+
+bla:
+       echo $(MANGROFF)
+       echo $(MANFILES)
+
+localinstall: $(outdir)/lilypond.1 $(outdir)/mudela.5
+       $(INSTALL) -d $(mandir)/man5
+       $(INSTALL) -d $(mandir)/man1
+       $(INSTALL) -m 755 $(MAN1GROFF) $(mandir)/man1
+       $(INSTALL) -m 755 $(outdir)/mudela.5 $(mandir)/man5
+
+localuninstall:
+       rm -f $(mandir)/man1/lilypond.1
+       rm -f $(mandir)/man1/convert-mudela.1