2 # project LilyPond -- the musical typesetter
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
21 # list of distribution files:
23 EXTRA_DISTFILES = Configure_variables.make.in lilypond.spec.in Toplevel.make.in
28 include ./$(depth)/make/Variables.make
29 include ./$(depth)/make/Files.make
32 # generic targets and rules:
34 include ./$(depth)/make/Targets.make
35 include ./$(depth)/make/Rules.make
38 spec: $(outdir)/lilypond.spec
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' > $@