]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/Toplevel.make.in
release: 0.1.57
[lilypond.git] / make / Toplevel.make.in
index d000ef90130aaca5c98692290321ee3c92d87d9f..c058487bcb587b3e4db7cf040ac0b2448172ce91 100644 (file)
@@ -1,5 +1,4 @@
 # -*-Makefile-*-
-# @configure_input@
 ########################################################
 # project  LilyPond -- the musical typesetter
 # title           top level makefile for LilyPond  
@@ -17,61 +16,43 @@ depth = .
 # identify module:
 #
 NAME = lilypond
+SUBDIRS = bin flower lib lily mf mi2mu debian\
+       Documentation init input tex make mutopia
 include VERSION
-include ./$(depth)/make/Version.make
-
-# generic variables:
-#
-include ./$(depth)/make/Variables.make 
 #
 
 # descent order into subdirectories:
 #
-SUBDIRS = bin flower lib lily mf mi2mu debian\
-       Documentation init input tex make mutopia
-#
 
 # list of distribution files:
 #
-SCRIPTS = configure configure.in install-sh aclocal.m4
-README_FILES = BUGS DEDICATION ANNOUNCE-0.1 ANNOUNCE  COPYING ONEWS NEWS README TODO \
-       INSTALL.txt AUTHORS.txt
-EXTRA_DISTFILES = .dstreamrc mudela-mode.el 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.txt: check-doc-deps check-mf-deps
-       rm -f INSTALL.txt
-       ln `$(FIND) ./ -name INSTALL.txt|head -1` .
-
-
-# all machine generated junk resides in out/
-distclean: 
-       set -e; for i in `find -type d -name 'out'`; do \
-               rm -f $$i/* $$i/.build; done            
-       rm -rf *-build-dir
-       ( cd flower && rm -f config.cache config.status config.log )
-       rm -f Makefile config.cache config.status config.log
-
-
-
-localclean:
-       rm -f 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
 
 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 $@