]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/Makefile
release: 0.0.76
[lilypond.git] / make / Makefile
index d02cd493bbd141d5e2eff686b2e00e3ada2457a6..804cad1e9b16acfd13fa75d7e8c877a084076b33 100644 (file)
@@ -40,13 +40,20 @@ include ./$(depth)/make/Rules.make
 
 spec: $(outdir)/lilypond.spec
 
-rpmdocs=$(addprefix Documentation/out/, $(notdir $(shell ls $(depth)/Documentation/$(outdir)/*.text)))
+rpmdocs=$(addprefix Documentation/out/, $(notdir $(shell ls $(depth)/Documentation/$(outdir)/*.text)))\
+       BUGS TODO NEWS DEDICATION ANNOUNCE README
+rpmmudocs=$(addprefix Documentation/out/, $(notdir $(shell ls $(depth)/Documentation/*.doc)))
+rpmdvis=$(rpmmudocs:.doc=.dvi)
+rpmexamples= $(addprefix input/, $(notdir $(shell ls $(depth)/input/*.{ly,tex})))
+
+
 sed-version= sed 's!@TOPLEVEL_VERSION@!${TOPLEVEL_VERSION}!g'
 sed-date=sed 's!@DATE@!${date}!g'
+sed-examples = sed 's!@EXAMPLE_LYS@!${rpmexamples} ${rpmdvis}!g'
 sed-docs=sed 's!@TEXT_DOCS@!${rpmdocs}!g'
 
 $(outdir)/lilypond.spec: lilypond.spec.in $(depth)/.version
-       cat $< | $(sed-version) | $(sed-docs) > $@
+       cat $< | $(sed-version) | $(sed-docs) | $(sed-examples) > $@
 
 $(outdir)/lilypond.lsm: lilypond.lsm.in $(depth)/.version
        cat $< | $(sed-version) | $(sed-date) > $@