]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/Toplevel.make.in
release: 0.1.57
[lilypond.git] / make / Toplevel.make.in
index ae4e131c1a58e56a33cd20b9661075370f9a4d19..c058487bcb587b3e4db7cf040ac0b2448172ce91 100644 (file)
@@ -1,7 +1,5 @@
 # -*-Makefile-*-
-#
-# @configure_input@
-#
+########################################################
 # project  LilyPond -- the musical typesetter
 # title           top level makefile for LilyPond  
 # file    Makefile 
@@ -9,7 +7,6 @@
 # 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:
 #
@@ -19,55 +16,43 @@ depth = .
 # identify module:
 #
 NAME = lilypond
-include .version
-include ./$(depth)/make/Version.make
-
-# generic variables:
-#
-include ./$(depth)/make/Variables.make 
+SUBDIRS = bin flower lib lily mf mi2mu debian\
+       Documentation init input tex make mutopia
+include VERSION
 #
 
 # descent order into subdirectories:
 #
-SUBDIRS = flower lib lily mi2mu \
-       Documentation bin init input tex make
-#
 
 # list of distribution files:
 #
-SCRIPTS = configure configure.in install-sh
-README_FILES = ANNOUNCE COPYING NEWS README TODO INSTALL.text
-EXTRA_DISTFILES=  .dstreamrc .version $(README_FILES) $(SCRIPTS) $(SYMLINKS)
+SCRIPTS = configure configure.in aclocal.m4
+README_FILES = BUGS DEDICATION ANNOUNCE-0.1 ANNOUNCE \
+ COPYING ONEWS NEWS README TODO \
+ INSTALL.txt AUTHORS.txt PATCHES.txt
+EXTRA_DISTFILES = config.make.in config.hh.in .dstreamrc mudela-mode.el VERSION $(README_FILES) $(SCRIPTS) 
 
 # do not dist ./Makefile (is copied from make/Toplevel.make)
-DISTFILES:=$(EXTRA_DISTFILES)# Makefile $(ALL_SOURCES)
+DISTFILES:=$(EXTRA_DISTFILES)
 #
 
 
 # generic targets and rules:
 #
+include ./$(depth)/make/Version.make
+include ./$(depth)/make/Variables.make 
 include ./$(depth)/make/Targets.make
 include ./$(depth)/make/Rules.make
-#
 
 localdist: configure
 
-INSTALL.text: check-doc-deps
-       rm -f INSTALL.text
-       ln `find -name INSTALL.text|head -1` .
-
-localdistclean:
-       rm -rf Makefile $(lily-version) $(flower-version) $(mi2mu-version) .b $(build) *~ $(allout) $(allgen) config.cache config.status
-
-
-
-localclean:
-       rm -f $(allexe) core config.cache config.log config.status 
-       rm -f $(outdir)/*.{class,html,gif}
+local-distclean: 
+       rm -f config.hh config.make Makefile config.cache config.status config.log
 
-localinstall: all
-       $(INSTALL) -d $(bindir)
-       $(INSTALL) -m 755 $(allexe) $(bindir)
+Makefile: 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 $@
 
-localuninstall:
-       for i in $(allexe); do rm -f $(bindir)/`basename $$i`; done