]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/Toplevel.make.in
release: 0.1.39
[lilypond.git] / make / Toplevel.make.in
index ae4e131c1a58e56a33cd20b9661075370f9a4d19..83ed45bd66086161e08db6cef7b0dff23dacd185 100644 (file)
@@ -1,7 +1,6 @@
 # -*-Makefile-*-
-#
 # @configure_input@
-#
+########################################################
 # project  LilyPond -- the musical typesetter
 # title           top level makefile for LilyPond  
 # file    Makefile 
@@ -9,7 +8,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,7 +17,7 @@ depth = .
 # identify module:
 #
 NAME = lilypond
-include .version
+include VERSION
 include ./$(depth)/make/Version.make
 
 # generic variables:
@@ -29,15 +27,16 @@ include ./$(depth)/make/Variables.make
 
 # descent order into subdirectories:
 #
-SUBDIRS = flower lib lily mi2mu \
-       Documentation bin init input tex make
+SUBDIRS = bin flower lib lily mf mi2mu debian\
+       Documentation 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 install-sh aclocal.m4
+README_FILES = BUGS DEDICATION ANNOUNCE-0.1 ANNOUNCE  COPYING ONEWS NEWS README TODO \
+       INSTALL.text AUTHORS.text
+EXTRA_DISTFILES = .dstreamrc mudela-mode.el VERSION $(README_FILES) $(SCRIPTS) $(SYMLINKS)
 
 # do not dist ./Makefile (is copied from make/Toplevel.make)
 DISTFILES:=$(EXTRA_DISTFILES)# Makefile $(ALL_SOURCES)
@@ -52,22 +51,26 @@ include ./$(depth)/make/Rules.make
 
 localdist: configure
 
-INSTALL.text: check-doc-deps
+INSTALL.text: check-doc-deps check-mf-deps
        rm -f INSTALL.text
-       ln `find -name INSTALL.text|head -1` .
+       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
+# all machine generated junk resides in out/
+distclean: 
+       set -e; for i in `find -type d -name 'out'`; do \
+               rm -f $$i/*; done               
+       rm -rf *-build-dir
+       rm -f Makefile config.cache config.status config.log
 
 
 
 localclean:
-       rm -f $(allexe) core config.cache config.log config.status 
+       rm -f core config.cache config.log config.status 
        rm -f $(outdir)/*.{class,html,gif}
 
-localinstall: all
-       $(INSTALL) -d $(bindir)
-       $(INSTALL) -m 755 $(allexe) $(bindir)
+Makefile: make/Toplevel.make.in
+       echo '# WARNING WARNING WARNING WARNING' > $@
+       echo '# do not edit! this is generated from make/Toplevel.make.in' >> $@
+       cat $< >> $@
 
-localuninstall:
-       for i in $(allexe); do rm -f $(bindir)/`basename $$i`; done