]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/Toplevel.make.in
release: 0.1.57
[lilypond.git] / make / Toplevel.make.in
index d16767ea68bfe1330293d446795206229dce60f5..c058487bcb587b3e4db7cf040ac0b2448172ce91 100644 (file)
@@ -16,54 +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 = BUGS DEDICATION ANNOUNCE COPYING NEWS README TODO INSTALL.text AUTHORS.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 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 $@