]> git.donarmstrong.com Git - lilypond.git/blob - make/Makefile.am
release: 0.1.49
[lilypond.git] / make / Makefile.am
1 # Automatically generated from ./lilypond-0.1.49/make/Makefile.am.wild by bin/autowild
2 # Do not edit
3 # project  LilyPond -- the musical typesetter
4 # title    zucht
5 # file     make/Makefile.am.dist
6 #
7 # Copyright (c) 1997 by    
8 #       Jan Nieuwenhuizen <jan@digicash.com>
9 #       Han-Wen Nienhuys <hanwen@stack.nl>
10 #               ...your sort order here, or how to comment-out a comment
11
12 IN_FILES = Configure_variables.make.in Makefile.in Toplevel.make.in lelievijver.lsm.in lilypond.lsm.in lilypond.spec.in
13 MAKE_FILES = Files.make Include.make Initial.make Rules.make Targets.make Template.make User.make Variables.make Version.make
14 EXTRA_DIST = Makefile.am.wild $(IN_FILES) $(MAKE_FILES) lilypond.spec lilypond.lsm lelievijver.lsm
15
16 spec: $(outdir)/lilypond.spec
17
18 rpmdocs = $(addprefix Documentation/, $(notdir $(shell ls ../Documentation/$(outdir)/*.txt)))\
19         BUGS TODO NEWS DEDICATION ANNOUNCE README
20 rpmmudocs = $(addprefix Documentation/, $(notdir $(shell ls ../Documentation/*.doc)))
21 rpmdvis = $(rpmmudocs:.doc=.dvi)
22 rpmexamples = $(addprefix input/, $(notdir $(shell ls ../input/*.{ly,tex})))
23
24 date = $(shell date '+%d%b%y'|tr a-z A-Z)
25
26 SED_VERSION= sed 's!@TOPLEVEL_VERSION@!${TOPLEVEL_VERSION}!g'
27 SED_DATE=sed 's!@DATE@!${date}!g'
28 SED_EXAMPLES = sed 's!@EXAMPLE_LYS@!${rpmexamples} ${rpmmudocs}!g'
29 SED_DOCS=sed 's!@TEXT_DOCS@!${rpmdocs}!g'
30
31 lilypond.spec: lilypond.spec.in ../VERSION
32         cat $< | $(SED_VERSION) | $(SED_DOCS) | $(SED_EXAMPLES) > $@
33
34 %.lsm: %.lsm.in ../VERSION
35         cat $< | $(SED_VERSION) | $(SED_DATE) > $@
36