]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/make/toplevel.make.in
release: 1.2.6
[lilypond.git] / stepmake / make / toplevel.make.in
index 45410640555233caac63926b2bcd03cda8f5fc93..349ff922af839da542c1abccce16b2404aeb1abc 100644 (file)
@@ -8,26 +8,47 @@ depth = .
 
 # descent order into subdirectories:
 #
-SUBDIRS = bin make stepmake Documentation
-#
-
-# bootstrap stepmake:
-#
+ifeq ($(PACKAGE),STEPMAKE)
+SUBDIRS = bin make stepmake 
+else
+SUBDIRS =
+endif
 #
 
 # list of distribution files:
 #
 SCRIPTS = configure aclocal.m4
-README_FILES = NEWS README TODO
+README_FILES = CHANGES README TODO
 README_TXT_FILES = AUTHORS.txt INSTALL.txt
-EXTRA_DIST_FILES = $(IN_FILES) VERSION $(README_FILES)  $(SCRIPTS) 
+EXTRA_DIST_FILES = $(IN_FILES) VERSION $(README_FILES)  $(SCRIPTS) INSTALL.texi
 NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
-
 #
 
 # bootstrap stepmake:
 #
-STEPMAKE_TEMPLATES=toplevel
+STEPMAKE_TEMPLATES=toplevel texinfo
 include $(depth)/make/stepmake.make 
 #
 
+# descent order into subdirectories:
+#
+ifeq ($(PACKAGE),STEPMAKE)
+SUBDIRS = bin make stepmake 
+else
+SUBDIRS =
+endif
+#
+
+#urg urg
+stepmake/aclocal.m4:
+       -$(LN) aclocal.m4 $@
+
+ifeq ($(PACKAGE),STEPMAKE)
+INSTALLATION_DIR=$(datadir)
+INSTALLATION_FILES=$(DIST_FILES) $(NON_ESSENTIAL_DIST_FILES) GNUmakefile config.make config.status
+include $(stepdir)/install-targets.make
+endif
+
+localclean:
+       rm -f bin/*.pyc
+       rm -f stepmake/stepmake stepmake/bin stepmake/aclocal.m4