]> git.donarmstrong.com Git - lilypond.git/blob - make/Makefile
release: 0.0.46.jcn1
[lilypond.git] / make / Makefile
1 #
2 # project  LilyPond -- the musical typesetter
3 # title    zucht
4 # file     make/Makefile 
5 #
6 # Copyright (c) 1997 by    
7 #       Jan Nieuwenhuizen <jan@digicash.com>
8 #       Han-Wen Nienhuys <hanwen@stack.nl>
9 #               ...your sort order here, or how to comment-out a comment
10
11 # subdir level:
12 #
13 depth = ..
14 #
15
16 # identify module:
17 #
18 NAME = make
19
20
21 # list of distribution files:
22 #
23 EXTRA_DISTFILES = Configure_variables.make.in lilypond.spec.in Toplevel.make.in
24 #
25
26 # generic variables:
27 #
28 include ./$(depth)/make/Variables.make
29 include ./$(depth)/make/Files.make 
30 #
31
32 # generic targets and rules:
33 #
34 include ./$(depth)/make/Targets.make
35 include ./$(depth)/make/Rules.make
36 #
37
38 spec: $(outdir)/lilypond.spec
39
40 rpm-docs=$(addprefix Documentation/out/, $(notdir $(shell ls $(depth)/Documentation/$(outdir)/*.text)))
41 $(outdir)/lilypond.spec: lilypond.spec.in $(depth)/.version
42         cat $< | sed 's/@TOPLEVEL_VERSION@/${TOPLEVEL_VERSION}/g'|sed 's#@TEXT_DOCS@#$(rpm-docs)#g' > $@