--- /dev/null
+# Documentation/man/Makefile
+
+depth = ../..
+
+STEPMAKE_TEMPLATES=documentation
+SECTION=1
+MANTXT = $(addprefix $(outdir)/, $(addsuffix .txt,$(basename $(TEXINFO_FILES) .texinfo)))
+MANGROFF = $(addprefix $(outdir)/, $(addsuffix .$(SECTION),$(basename $(YO_FILES) .yo)))
+
+OUTTEXINFO_FILES= $(addprefix $(outdir)/, $(addsuffix .texinfo,$(basename $(YO_FILES) .yo)))
+
+OUT_DIST_FILES += $(MANGROFF)
+
+include $(depth)/make/stepmake.make
+
+default: $(MANGROFF)
+
+texinfo: $(OUTTEXINFO_FILES)
+
+
+
+INSTALLATION_OUT_FILES=$(MANGROFF)
+INSTALLATION_OUT_DIR=$(mandir)/man$(SECTION)
+
+include $(stepdir)/install-outfiles.make
+
+local-WWW: $(MANGROFF:.1=.html)
+ $(PYTHON) $(step-bindir)/ls-latex.py --package=$(topdir) --title 'Manual pages for LilyPond' $(YO_FILES) \
+ | sed "s!$(outdir)/!!g" > $(outdir)/index.html
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $(outdir)/index.html
--- /dev/null
+# intl/Makefile
+
+depth = ..
+
+NAME = intl
+
+
+# MODULE_CXXFLAGS += -D_REENTRANT
+MAINTARGET = $(LIBRARY)# huh?
+
+SED_FILES = $(wildcard *.sed)
+
+# should be set by configure...
+URG_DEFINES = -DGNULOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(localedir):\"
+EXTRA_CFLAGS = -I. $(URG_DEFINES)
+
+EXTRA_DIST_FILES = Makefile.in.dist cat-compat.c.dist ChangeLog libintl.inst $(SED_FILES)
+
+
+
+STEPMAKE_TEMPLATES=c
+include $(depth)/make/stepmake.make
+
+default:
+ @echo "to install libintl type 'make lib; make install-lib'"
+
+lib: $(LIBRARY)
+LIBINTL = $(LIBRARY)
+
+install-lib: $(LIBINTL)
+# localinstall: $(LIBINTL)
+ $(INSTALL) -d $(includedir)
+# $(INSTALL) libintl.h $(includedir)
+ $(INSTALL) libintl.inst $(includedir)/libintl.h
+ifeq ($(LIB_SUFFIX),.so)
+ $(INSTALL) -d $(libdir)
+ $(INSTALL) $(LIBINTL).$(VERSION) $(libdir)
+ ln -s $(LIB_PREFIX)intl$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)intl$(LIB_SUFFIX).$(MAJOR_VERSION)
+ ln -s $(LIB_PREFIX)intl$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)intl$(LIB_SUFFIX)
+else
+ $(INSTALL) -d $(libdir)
+ echo libintl: $(LIBINTL)
+ echo libdir: $(libdir)
+ $(INSTALL) $(LIBINTL) $(libdir)
+endif
+
+localuninstall:
+ rm -f $(inludedir)/libintl.h
+ rm -f $(libdir)/libintl.{so*,a}
+
--- /dev/null
+# file make/Makefile
+
+depth = ..
+STEPMAKE_TEMPLATES=makedir
+BLURBS=BLURB # COPERTINA FLAPTEKST
+
+include $(depth)/make/stepmake.make
+
+
+
--- /dev/null
+
+# UGH UGH
+include $(make-dir)/lilypond-vars.make
+
+FLY_FILES = $(wildcard *.fly)
+LY_FILES = $(wildcard *.ly)
+M4_FILES = $(wildcard *.m4)
+LYM4_FILES = $(wildcard *.lym4)
+EXTRA_DIST_FILES += $(FLY_FILES) $(LY_FILES) $(M4_FILES) $(LYM4_FILES)
+
+# WWW.make
+
+ly_examples=$(addprefix $(outdir)/, $(addsuffix .ly.txt, $(examples)))
+fly_examples=$(addprefix $(outdir)/, $(addsuffix .fly.txt, $(flexamples)))
+
+all_examples=$(flexamples) $(examples)
+
+ps_examples=$(addprefix $(outdir)/, $(addsuffix .ps.gz, $(all_examples)))
+gif_examples=$(addprefix $(outdir)/, $(addsuffix .gif, $(all_examples)))
+
+html_subdirs=$(addprefix --subdirs ,$(SUBDIRS))
+
+
+name-stem= $(notdir $(basename $<))
+
+OUT_FILES = $(addprefix $(outdir)/,$(M4_FILES:%.m4=%)) \
+ $(addprefix $(outdir)/,$(LYM4_FILES:%.lym4=%.ly))
--- /dev/null
+# make/Substitute.make
+
+#guh
+include $(stepdir)/substitute-vars.make
+
+ATVARIABLES = \
+ BASH\
+ DATE\
+ date\
+ DIR_DATADIR\
+ PACKAGE\
+ package\
+ PERL\
+ PYTHON\
+ SHELL\
+ TOPLEVEL_VERSION\
+ step-bindir\
+ abs-step-bindir\
+
+
--- /dev/null
+# mf/Makefile
+
+depth = ..
+
+STEPMAKE_TEMPLATES=metafont
+
+EXTRA_DIST_FILES += TODO README
+
+FET_FILES = $(wildcard feta[0-9]*.mf)
+
+LYTABLES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.ly))
+LOG_FILES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.log))
+TEXTABLES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.tex))
+AFM_FILES = $(addprefix $(outdir)/, $(FET_FILES:.mf=.afm))
+
+ALL_GEN_FILES=$(LYTABLES) $(TEXTABLES) $(LOG_FILES) $(AFM_FILES)
+
+OUT_DIST_FILES += $(AFM_FILES)
+
+include $(depth)/make/stepmake.make
+
+default: $(ALL_GEN_FILES)
+
+
+$(outdir)/%.afm $(outdir)/%.ly $(outdir)/%.tex $(outdir)/%.dep: $(outdir)/%.log
+ $(PYTHON) $(buildscripts)/mf-to-table.py --package=$(topdir) --outdir=$(outdir) --dep $(outdir)/$(<F:.log=.dep) --ly $(outdir)/$(<F:.log=.ly) --afm $(outdir)/$(<F:.log=.afm) --tex $(outdir)/$(<F:.log=.tex) $<
+
+
+TEXINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(TEXDIR)/lilypond depth=.. INSTALLATION_OUT_FILES="$(TEXTABLES)" -f $(stepdir)/install-outfiles.sub.make $@
+
+AFMINSTALL=$(MAKE) depth=.. INSTALLATION_OUT_DIR=$(datadir) INSTALLATION_OUT_FILES="$(AFM_FILES)" -f $(stepdir)/install-outfiles.sub.make $@
+
+LYINSTALL=$(MAKE) depth=.. INSTALLATION_OUT_DIR=$(datadir) INSTALLATION_OUT_FILES="$(LYTABLES)" -f $(stepdir)/install-outfiles.sub.make $@
+
+localinstall: $(ALL_GEN_FILES)
+ $(TEXINSTALL)
+ $(LYINSTALL)
+ $(AFMINSTALL)
+
+localuninstall:
+ $(TEXINSTALL)
+ $(LYINSTALL)
+ $(AFMINSTALL)
+
+INSTALLATION_DIR=$(MFDIR)/public/lilypond
+INSTALLATION_FILES=$(MF_FILES)
+
+include $(stepdir)/installfiles.make
+
--- /dev/null
+# mutopia/Makefile
+
+depth = ../..
+
+# do Coriolan if you have plenty RAM / CPU
+examples=coriolan oboi-part viola-part
+# examples= oboi-part viola-part
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+
--- /dev/null
+# mutopia/Makefile
+
+depth = ..
+
+SUBDIRS = J.S.Bach Coriolan W.A.Mozart
+
+examples=standchen gallina
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+
+EXTRA_DIST_FILES += TODO
+
+
+
--- /dev/null
+# mutopia/J.S.Bach/Makefile
+
+depth = ../..
+
+SUBDIRS = Petites-Preludes Solo-Cello-Suites
+EXTRA_DIST_FILES=
+
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+examples=wtk1-fugue2
+
+include $(depth)/make/stepmake.make
+
--- /dev/null
+# mutopia/J.S.Bach/Petites-Preludes/Makefile
+
+depth = ../../..
+
+EXTRA_DIST_FILES=
+
+examples=preludes-2
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
--- /dev/null
+# mutopia/J.S.Bach/Solo-Cello-Suites/Makefile
+
+depth = ../../..
+
+EXTRA_DIST_FILES=
+
+examples=scsii-cello
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
--- /dev/null
+# mutopia/W.A.Mozart
+
+depth = ../..
+
+examples=cadenza
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+
+
--- /dev/null
+# title makefile for po
+# file po/Makefile
+
+depth = ..
+
+NAME = lilypond
+MODULE_NAME = po
+
+PO_FILES = $(wildcard *.po)
+MO_FILES = $(addprefix $(outdir)/, $(PO_FILES:.po=.mo))
+HELP_CATALOGS = $(PO_FILES:%.po=%)
+CATALOGS = $(HELP_CATALOGS:lilypond=)
+EXTRA_DIST_FILES = TODO $(PO_FILES)
+
+include $(depth)/make/stepmake.make
+include $(stepdir)/po-rules.make
+
+default: $(MO_FILES)
+
+localinstall: $(MO_FILES)
+ for i in $(CATALOGS); do \
+ $(INSTALL) -d $(localedir)/$$i/LC_MESSAGES; \
+ $(INSTALL) -m 644 $(outdir)/$$i.mo \
+ $(localedir)/$$i/LC_MESSAGES/$(package).mo; \
+ done
+
+localuninstall:
+ for i in $(CATALOGS); do \
+ rm -f $(localedir)/$$i/LC_MESSAGES/$(package).mo; \
+ rmdir $(localedir)/$$i/LC_MESSAGES || true; \
+ done
+
--- /dev/null
+# Documentation/Makefile
+
+depth = ..
+
+
+OUTTXT_FILES = $(OUTYO_FILES:.yo=.txt) $(OUTIN_FILES:.yo=.txt)
+EXTRA_DIST_FILES =
+SUBDIRS=topdocs
+
+
+STEPMAKE_TEMPLATES=documentation
+
+include $(depth)/make/stepmake.make
+
+default: do-doc
+
+do-doc: $(OUTTXT_FILES)
+
+# ugh
+check-doc-deps: do-doc
+ true
+
+doc: do-doc
+
+pl 45
+ - Foo_rules.make -> foo-rules.make
+
+pl 44
+ - split: Toplevel.make, debian/Makefile, Documentation/topdocs/Makefile
+
pl 43
- grand split up in targets/rules/variables. The vars should be before rules!!
pl 42
--- /dev/null
+# bin/Makefile
+
+depth = ..
+
+EXTRA_DIST_FILES = install-sh config.sub config.guess
+STEPMAKE_TEMPLATES=script
+
+include $(depth)/make/stepmake.make
+
+
--- /dev/null
+# file make/Makefile
+
+depth = ..
+STEPMAKE_TEMPLATES=makedir
+BLURBS=BLURB # COPERTINA FLAPTEKST
+
+
+include $(depth)/make/stepmake.make
+
+
+
--- /dev/null
+# title package specific rules
+# file make/Rules.lilymake.make
+
+#UGH
+
+include $(depth)/make/substitute.make
+
+$(outdir)/%: %.in
+ rm -f $@
+ cat $< | $(sed-atfiles) | $(sed-atvariables) > $@
+
+
--- /dev/null
+# title package specific targets
+# file make/Targets.make
+
+.PHONY : check-dist-deps check-make-deps check-rpm-doc-deps check-html-deps check-www-doc check-rpm-icons
+
+check-html-deps:
+ $(MAKE) -C $(depth)/Documentation html
+
+check-www-doc:
+ $(MAKE) CONFIGSUFFIX='www' -C Documentation outdirs
+ $(MAKE) CONFIGSUFFIX='www' -C Documentation WWW
+
+# check-rpm-doc-deps:
+# $(MAKE) -C $(depth)/Documentation gifs
+
+check-rpm-icons:
+
+check-make-deps:
+ $(MAKE) -C $(depth)/make
+
+# urg urg
+$(configheader): $(depth)/$(configuration).hh
+ cp $< $@
+
--- /dev/null
+# make/Stepmake.make
+
+include $(depth)/make/toplevel-version.make
+
+# Don't try to outsmart us, you puny computer!
+ifeq (0,${MAKELEVEL})
+ MAKE:=$(MAKE) --no-builtin-rules
+endif
+
+ifndef config
+ configuration=config
+else
+ configuration=config-$(config)
+endif
+
+include $(depth)/$(configuration).make
+
+ifdef CONFIGSUFFIX
+outdir=out-$(CONFIGSUFFIX)
+else
+outdir=out
+endif
+
+stepdir = $(depth)/stepmake
+
+LOCALSTEPMAKE_TEMPLATES:=generic $(LOCALSTEPMAKE_TEMPLATES)
+STEPMAKE_TEMPLATES := generic $(STEPMAKE_TEMPLATES)
+
+default:
+
+include $(addprefix $(depth)/make/,$(addsuffix -vars.make, $(LOCALSTEPMAKE_TEMPLATES)))
+include $(addprefix $(stepdir)/,$(addsuffix -vars.make, $(STEPMAKE_TEMPLATES)))
+include $(addprefix $(depth)/make/,$(addsuffix -rules.make, $(LOCALSTEPMAKE_TEMPLATES)))
+include $(addprefix $(stepdir)/,$(addsuffix -rules.make, $(STEPMAKE_TEMPLATES)))
+include $(addprefix $(depth)/make/,$(addsuffix -targets.make, $(LOCALSTEPMAKE_TEMPLATES)))
+include $(addprefix $(stepdir)/,$(addsuffix -targets.make, $(STEPMAKE_TEMPLATES)))
+
+
+
--- /dev/null
+# Substitute.make
+
+include $(stepdir)/substitute-vars.make
+ATVARIABLES = \
+ BASH\
+ DATE\
+ date\
+ DIR_DATADIR\
+ PACKAGE\
+ package\
+ PERL\
+ PYTHON\
+ SHELL\
+ TOPLEVEL_VERSION\
+ step-bindir\
+ abs-step-bindir\
+
+
--- /dev/null
+
+include $(depth)/VERSION
+topleveL_MAJOR_VERSION:=$(MAJOR_VERSION)
+TOPLEVEL_MINOR_VERSION:=$(MINOR_VERSION)
+TOPLEVEL_PATCH_LEVEL:=$(PATCH_LEVEL)
+# use to send patches, always empty for released version:
+TOPLEVEL_MY_PATCH_LEVEL:=$(MY_PATCH_LEVEL)
--- /dev/null
+# -*-Makefile-*-
+# title specific top level makefile for StepMake
+
+# subdir level:
+#
+depth = .
+#
+
+# descent order into subdirectories:
+#
+SUBDIRS = bin make stepmake Documentation
+#
+
+# bootstrap stepmake:
+#
+#
+
+# list of distribution files:
+#
+SCRIPTS = configure aclocal.m4
+README_FILES = NEWS README TODO
+README_TXT_FILES = AUTHORS.txt INSTALL.txt
+EXTRA_DIST_FILES = $(IN_FILES) VERSION $(README_FILES) $(SCRIPTS)
+NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
+
+#
+
+# bootstrap stepmake:
+#
+STEPMAKE_TEMPLATES=toplevel
+include $(depth)/make/stepmake.make
+#
+
--- /dev/null
+# title makefile for stepmake
+
+# subdir level:
+#
+depth = ..
+#
+
+# descent order into subdirectories:
+#
+SUBDIRS =
+#
+
+STEPMAKE_TEMPLATES=makedir
+
+
+# bootstrap stepmake:
+#
+-include $(depth)/make/stepmake.make
--- /dev/null
+# Docrules.make
+
+# special rules for the documentation section.
+# There are too many to add to the general rules
+
+.SUFFIXES: .1 .data .html .gif .xpm .tex .txt
+
+$(outdir)/%.gif: %.xpm
+ xpmtoppm $< | ppmtogif > $@
+
+$(outdir)/%.txt: $(outdir)/%.1
+ troff -man -Tascii $< | grotty -b -u -o > $@
+
+#urg should generalise and move Lilypond -> StepMake
+$(outdir)/%.html: %.data $(depth)/VERSION
+ $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ $<
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $@
+
+$(outdir)/%.tex: %.data $(depth)/VERSION
+ $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ --latex $<
+
+include $(stepdir)/yodl-rules.make
+include $(stepdir)/texinfo-rules.make
+
--- /dev/null
+
+default:
+
+do-doc: $(OUTTXT_FILES)
+
+# ugh. FIXME
+ifeq ($(strip $(README_TOP_FILES)),)
+readme-top_FILES-html:
+readme-top_FILES-txt:
+else
+
+readme-top_FILES-txt:
+ $(foreach i, $(README_TOP_FILES), \
+ cp $(depth)/$(i) $(outdir)/$(i).txt && ) true
+
+readme-top_FILES-html:
+ $(foreach i, $(README_TOP_FILES), \
+ $(SHELL) $(step-bindir)/text2html.sh $(outdir)/$(i).txt $(outdir)/$(i).html && \
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=$(depth)/../index.html $(outdir)/$(i).html && ) true
+endif
+
+local-WWW: readme-top_FILES-txt readme-top_FILES-html $(OUTHTML_FILES) $(OUTREADME_HTML_FILES)
+ echo $^ > $(depth)/wwwlist
+
+doc: do-doc
+
+# what to do here?
+ifneq ($(strip $(INFO_FILES)),)
+
+INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_FILES)" -f $(stepdir)/install-outfiles.sub.make $@
+
+$(outdir)/$(package).info: check-texinfo-deps $(OUTTEXINFO_FILES)
+ $(MAKEINFO) -o $@ $(outdir)/topinfo.texinfo
+
+localinstall: # $(INFO_FILES)
+ -$(INSTALL) -d $(infodir)
+ $(INFOINSTALL)
+localuninstall:
+ $(INFOINSTALL)
+
+endif
+
--- /dev/null
+# title generic variables
+# file make/Variables.make
+#
+# do not change this file for site-wide extensions; please use
+# make/$(outdir)/Site.make;
+#
+# Any change in files in this directory (make/) would be distributed, if
+# you do make dist
+
+# directory names:
+
+# depth from group-dir
+# not eh, normally used
+DEPTH = $(depth)/$(package-depth)
+
+topdir := $(shell cd $(depth); pwd)
+pwd := $(shell pwd)
+
+
+# derived names
+ifeq ($(distdir),)
+ distdir = $(depth)/$(outdir)/$(DIST_NAME)
+ DIST_NAME = $(package)-$(TOPLEVEL_VERSION)
+endif
+distname = $(package)-$(TOPLEVEL_VERSION)
+
+
+
+
+# obsolete?
+makeout = $(depth)/make/$(outdir)
+docout = $(depth)/Documentation/$(outdir)
+binout = $(depth)/bin/$(outdir)
+
+doc-dir = $(depth)/Documentation
+po-dir = $(depth)/po
+
+# sort-out which of these are still needed
+#
+$(package)_bindir = $(depth)/bin
+step-bindir = $(depth)/$(stepmake)/bin
+abs-step-bindir = $(topdir)/$(stepmake)/bin
+#
+group-dir = $(shell cd $(DEPTH)/..; pwd)
+release-dir = $(group-dir)/releases
+patch-dir = $(group-dir)/patches
+#
+# i have in $HOME/.rpmrc
+# topdir: /home/fred/usr/src/Redhat
+#
+rpm-sources = $(release-dir)
+rpm-build = $(group-dir)/RedHat/BUILD
+#
+
+
+# need to be defined in local Makefiles:
+#
+FOOBAR =
+# the version:
+#
+ifneq ($(MY_PATCH_LEVEL),$(FOOBAR))
+VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL).$(MY_PATCH_LEVEL)
+else
+VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL)
+endif
+
+ifneq ($(TOPLEVEL_MY_PATCH_LEVEL),$(FOOBAR))
+TOPLEVEL_VERSION=$(TOPLEVEL_MAJOR_VERSION).$(TOPLEVEL_MINOR_VERSION).$(TOPLEVEL_PATCH_LEVEL).$(TOPLEVEL_MY_PATCH_LEVEL)
+else
+TOPLEVEL_VERSION=$(TOPLEVEL_MAJOR_VERSION).$(TOPLEVEL_MINOR_VERSION).$(TOPLEVEL_PATCH_LEVEL)
+endif
+
+
+
+# clean file lists:
+#
+ERROR_LOG = 2> /dev/null
+SILENT_LOG = 2>&1 > /dev/null
+date := $(shell date +%x) #duplicated?
+
+# compile and link options:
+#
+ARFLAGS = ru
+
+INCLUDES = include $(outdir) $($(PACKAGE)_INCLUDES)
+LDFLAGS = $(ILDFLAGS) $(USER_LDFLAGS) $(EXTRA_LDFLAGS) $(MODULE_LDFLAGS) $($(PACKAGE)_LDFLAGS)
+
+MODULE_LIBES=$(addsuffix /$(outdir)/library.a, $(MODULE_LIBS))
+LOADLIBES = $(MODULE_LIBES) $($(PACKAGE)_LIBES) $(EXTRA_LIBES)
+# urg: for windows ?
+# LOADLIBES = $(MODULE_LIBES) $($(PACKAGE)_LIBES) $(EXTRA_LIBES) -lstdc++
+#
+
+# macro compiler:
+#
+M4 = m4
+#
+
+#
+LD_COMMAND = $(LD) $(LDFLAGS) -o $@
+#
+
+# dependencies:
+#
+depfile = $(outdir)/$(subst .o,.dep,$(notdir $@))#
+DODEP=rm -f $(depfile); DEPENDENCIES_OUTPUT="$(depfile) $(outdir)/$(notdir $@)"
+#
+
+
+# generic target names:
+#
+ifdef NAME
+EXECUTABLE = $(outdir)/$(NAME)$(EXE)
+else
+EXECUTABLE =
+endif
+
+EXECUTABLES = $(notdir $(EXECUTABLE))
+
+
+#
+
+#replace to do stripping of certain objects
+STRIPDEBUG=true
+
+DIST_FILES=$(EXTRA_DIST_FILES) GNUmakefile $(ALL_SOURCES)
+DOCDIR=$(depth)/$(outdir)
+
+
+STRIP=strip --strip-debug
+ifdef stablecc
+ STABLEOBS=$(addprefix $(outdir)/,$(stablecc:.cc=.o))
+endif
+
+# substitute $(STRIP) in Site.make if you want stripping
+DO_STRIP=true
+LOOP=$(foreach i, $(SUBDIRS), $(MAKE) -C $(i) $@ &&) true
+
+
+include $(stepdir)/files.make
--- /dev/null
+# Include.make
+
+
+
+
+
--- /dev/null
+# -*-Makefile-*-
+# title Toplevel_targets.make
+
+local-dist: configure
+
+local-distclean:
+ rm -f config.hh config.make Makefile config.cache \
+ config.status config.log index.html
+
+local-maintainerclean:
+ rm -f configure
+
+GNUmakefile: make/toplevel.make.in
+ chmod +w $@
+ echo "# WARNING WARNING WARNING WARNING" > $@
+ echo "# do not edit! this is generated from make/Toplevel.make.in" >> $@
+ cat $< >> $@
+ chmod -w $@
+
+aclocal.m4: $(stepdir)/../aclocal.m4
+ cp $< $@
+
+local-WWW: #index.html
+
+index.html: check-top-web NEWS
+ $(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
+ $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=Documentation/top-docs/out-www/index.html $@
+
+WWW-clean:
+ $(MAKE) CONFIGSUFFIX='www' clean
+
+dist:
+ rm -rf $(distdir)
+ $(MAKE) local-dist $(distdir)
+ chmod -R a+r $(distdir)
+ chmod a+x `find $(distdir) -type d -print`
+ (cd ./$(depth)/$(outdir); $(TAR) cf - $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
+# ugh.
+# Can't compare "stage1" dist with "stage2" dist in this way?
+ -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
+ rm -rf ./$(distdir)/
+
+local-help:
+ @echo -e "\
+ dist roll tarball: $(outdir)/$(package)-$(TOPLEVEL_VERSION).tar.gz\n"
+
+
--- /dev/null
+# tex/Makefile
+
+depth = ..
+
+
+TEX_FILES = $(wildcard *.tex)
+EXTRA_DIST_FILES = $(TEX_FILES)
+
+INSTALLATION_DIR=$(TEXDIR)/lilypond
+INSTALLATION_FILES=$(TEX_FILES)
+
+include $(depth)/make/stepmake.make
+include $(stepdir)/installfiles.make
+