From: fred Date: Sun, 24 Mar 2002 20:13:20 +0000 (+0000) Subject: lilypond-1.0.1 X-Git-Tag: release/1.5.59~3006 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=382bdc8bd12064db81b52c3ac15044892c124eab;p=lilypond.git lilypond-1.0.1 --- diff --git a/make/Rules.make b/make/Rules.make index f7f3d7fe4a..8ea9451bdc 100644 --- a/make/Rules.make +++ b/make/Rules.make @@ -1,60 +1,29 @@ -# -# project LilyPond -- the musical typesetter -# title generic make rules +# title package specific rules # file make/Rules.make -# -# Copyright (c) 1997 by -# Jan Nieuwenhuizen -# Han-Wen Nienhuys - -# this is supposed to clear all suffixes: -.SUFFIXES: - -.SUFFIXES: .cc .o .hh .y .l .dep - - -# compile rules: -# -$(outdir)/%.o: %.cc - $(DO_CXX_COMPILE) - -$(outdir)/%.o: $(outdir)/%.cc - $(DO_CXX_COMPILE) - -$(outdir)/%.cc: %.yy - $(BISON) $< - mv $<.tab.c $@ - -$(outdir)/%.hh: %.yy - $(BISON) -d $< - mv $<.tab.h $@ - mv $<.tab.c $(outdir)/$(shell basename $@ .hh).cc - -$(outdir)/%.cc: %.ll - $(FLEX) -Cfe -p -p -t $< > $@ -# could be faster: -# $(FLEX) -8 -Cf -t $< > $@ - -$(outdir)/%: %.m4 - $(M4) $< > $@ # urg $(outdir)/%.ly: %.lym4 $(M4) $< | sed "s/\`/,/g" > $@ -# outdirs: -# -# ?$(outdir)/%.dep: -%.dep: - touch $@ +$(outdir)/%: %.in + rm -f $@ + cat $< | $(sed-atfiles) | $(sed-atvariables) > $@ -%.gz: % - gzip -c9 $< > $@ -$(depth)/%$(DOTTEXT): check-doc-deps - rm -f $@ - ln `find ${depth}/Documentation -name ${@F} -print|head -1 ` $@ -$(outdir)/%.ps: $(outdir)/%.dvi - dvips -o $@ $< +include $(depth)/make/Substitute.make + +# $(depth)/make/$(outdir)/%.make: $(depth)/make/%.in +# rm -f $@ +# echo "$(basename $(@F)) = \\" > $@ +# cat $< | $(sed-newline) | $(sed-endline) | $(sed-quotes) >> $@ +# echo >> $@ +# echo >> $@ + +# HUH??? +$(outdir)/%.hh: $(doc-dir)/%.in + rm -f $@ + echo '_(' > $@ + cat $< | $(sed-quotes) | $(sed-newline) | $(sed-quote-line) >> $@ + echo ');' >> $@