# # project LilyPond -- the musical typesetter # title top level makefile for LilyPond # file Makefile # # Copyright (c) 1997 by # Jan Nieuwenhuizen # Han-Wen Nienhuys # ...your sort order here, or how to comment-out a comment # subdir level: # depth = . # # identify module: # NAME = lilypond # edit in .version only! MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION) MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION) PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL) # use to send patches, always empty for released version: MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL) build = ./$(depth)/lily/$(outdir)/.build # # generic variables: # include ./$(depth)/make/Variables.make # # descent order into subdirectories: # SUBDIRS = flower lib lily mi2mu \ Documentation bin init input tex make # # list of distribution files: # # SYMLINKS = # naah, configure SCRIPTS = configure configure.in install-sh README_FILES = ANNOUNCE COPYING NEWS README TODO INSTALL.text DISTFILES= Makefile .dstreamrc .version $(README_FILES) $(SCRIPTS) $(SYMLINKS) # # generic targets and rules: # include ./$(depth)/make/Targets.make include ./$(depth)/make/Rules.make # localdist: configure # ugh. I know dep is not quite what is really needed. INSTALL.text: Documentation rm -f INSTALL.text $(MAKE) -C Documentation ln `find -name INSTALL.text|head -1` . localclean: rm -f $(allexe) core config.cache config.log config.status localinstall: all $(INSTALL) -d $(bindir) $(INSTALL) -m 755 $(allexe) $(bindir) localuninstall: for i in $(allexe); do rm -f $(bindir)/`basename $$i`; done