]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/Makefile
patch::: 1.0.3.jcn1: kleine vix
[lilypond.git] / make / Makefile
index 99e0bbf008833fa599918532b265f524c33edf12..dec2c680084e47ba46860a917b50b49efaed946b 100644 (file)
@@ -1,60 +1,13 @@
-#
-# project  LilyPond -- the musical typesetter
-# title           zucht
 # file    make/Makefile 
-#
-# Copyright (c) 1997 by    
-#      Jan Nieuwenhuizen <jan@digicash.com>
-#      Han-Wen Nienhuys <hanwen@stack.nl>
-#              ...your sort order here, or how to comment-out a comment
-
-# subdir level:
-#
-depth = ..
-#
-
-# identify module:
-#
-NAME = make
-
 
-# list of distribution files:
-
-# two outdir files are distributed, since they make sense to have without running 
-# configure and make.
-EXTRA_DISTFILES = Configure_variables.make.in lilypond.spec.in Toplevel.make.in \
-       lilypond.lsm.in $(outdir)/lilypond.spec $(outdir)/lilypond.lsm
-#
-
-# generic variables:
-#
-include ./$(depth)/make/Variables.make
-include ./$(depth)/make/Files.make 
-#
+depth = ..
+BLURBS=BLURB COPERTINA FLAPTEKST
+MAKEFILES=Makedir
 
-# generic targets and rules:
-#
-include ./$(depth)/make/Targets.make
-include ./$(depth)/make/Rules.make
-#
 
-spec: $(outdir)/lilypond.spec
+include $(depth)/make/Stepmake.make 
 
-rpmdocs=$(addprefix Documentation/out/, $(notdir $(shell ls $(depth)/Documentation/$(outdir)/*.text)))\
-       BUGS TODO NEWS DEDICATION ANNOUNCE README
-rpmmudocs=$(addprefix Documentation/, $(notdir $(shell ls $(depth)/Documentation/*.doc)))
-rpmdvis=$(rpmmudocs:.doc=.dvi)
-rpmexamples= $(addprefix input/, $(notdir $(shell ls $(depth)/input/*.{ly,tex})))
 
 
-date = $(shell date '+%d%b%y'|tr a-z A-Z)
-sed-version= sed 's!@TOPLEVEL_VERSION@!${TOPLEVEL_VERSION}!g'
-sed-date=sed 's!@DATE@!${date}!g'
-sed-examples = sed 's!@EXAMPLE_LYS@!${rpmexamples} ${rpmmudocs}!g'
-sed-docs=sed 's!@TEXT_DOCS@!${rpmdocs}!g'
 
-$(outdir)/lilypond.spec: lilypond.spec.in $(depth)/VERSION
-       cat $< | $(sed-version) | $(sed-docs) | $(sed-examples) > $@
 
-$(outdir)/lilypond.lsm: lilypond.lsm.in $(depth)/VERSION
-       cat $< | $(sed-version) | $(sed-date) > $@