--- /dev/null
+# title makefile for lilypond
+# file lily/Makefile
+
+depth = ..
+
+NAME = lilypond
+SUBDIRS = include
+
+EXTRA_DIST_FILES = VERSION
+MODULE_LIBS=$(depth)/lib $(depth)/flower
+
+STEPMAKE_TEMPLATES= c++ executable
+
+include $(depth)/make/stepmake.make
+
+# force these: Make can't know these have to be generated in advance
+$(outdir)/my-lily-parser.o: $(outdir)/parser.hh
+$(outdir)/my-lily-lexer.o: $(outdir)/parser.hh
+$(outdir)/lexer.o: $(outdir)/parser.hh
+
+
+$(outdir)/lily-version.o: $(outdir)/version.hh
+
+$(outdir)/main.o: $(outdir)/BLURB.hh $(outdir)/COPERTINA.hh $(outdir)/FLAPTEKST.hh
+
+
+# ugh . -> $(outdir)
+VERSION: $(depth)/VERSION
+ cp $< $@
+
--- /dev/null
+# title package specific rules
+# file make/Rules.make
+
+# urg
+$(outdir)/%.ly: %.lym4
+ $(M4) $< | sed "s/\`/,/g" > $@
+
+$(outdir)/%: %.in
+ rm -f $@
+ cat $< | $(sed-atfiles) | $(sed-atvariables) > $@
+
+
+
+include $(depth)/make/substitute.make
+
+
+# HUH???
+$(outdir)/%.hh: $(doc-dir)/%.in
+ rm -f $@
+ echo '_(' > $@
+ cat $< | $(sed-quotes) | $(sed-newline) | $(sed-quote-line) >> $@
+ echo ');' >> $@
+
--- /dev/null
+# Porules.make
+
+.SUFFIXES: .po .mo
+
+$(outdir)/%.mo: %.po
+ $(MSGFMT) -o $@ $<
+
+# sed-pofile = sed 's/^. \#: .*//'
+sed-pofile = sed 's/^\#: .*//'
+sed-makestuff = sed 's/[a-zA-Z_/]*make\[[0-9]*\].*//'
+sed-edstuff = sed 's/[ \.,adic0-9]*//' | sed 's/---//' | sort -u
+
+po-update:
+ $(foreach i,$(CATALOGS), \
+ rm -f $(po-dir)/$(outdir)/$(i).po; \
+ tupdate $(po-dir)/$(outdir)/$(package).po $(po-dir)/$(i).po \
+ > $(po-dir)/$(outdir)/$(i).po && ) true
+ $(foreach i,$(CATALOGS), \
+ changes=`$(MAKE) --silent -C $(po-dir) LANGUAGE=$$i show-po-changes $(ERROR_LOG) | $(sed-makestuff)`; \
+ if test "$$changes" != "" ; then \
+ echo "*** Changes for language $$i; check po/$(outdir)/$$i.po ***"; \
+ echo -e "changes: \`$$changes'";\
+ fi; && ) true
+
+
+show-po-changes:
+ diff -e $(po-dir)/$(outdir)/$(LANGUAGE).po $(po-dir)/$(LANGUAGE).po \
+ | $(sed-pofile) | $(sed-edstuff)