]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/toplevel-targets.make
Remove StepMake as a separate package
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
index 374f10ef2bd139aa43079e864eda24f8548d09d4..bdabb19477f0086a5b9e5f636520dec1c40958f5 100644 (file)
@@ -1,45 +1,61 @@
-# -*-Makefile-*-
-# title           Toplevel_targets.make
+.PHONY: install-doc uninstall-doc
+install-doc:
+uninstall-doc:
 
-local-dist: configure 
-
-local-distclean: 
-       rm -f config.hh config.make Makefile config.cache \
-               config.status config.log index.html
+local-distclean:
+       rm -f config.hh config.make Makefile GNUmakefile \
+               config.cache config.status config.log index.html \
+               stepmake/stepmake/stepmake stepmake/stepmake/bin
+       rm -rf autom4te.cache
+       rm -rf $(outdir)
 
 local-maintainerclean:
-       rm -f configure
 
-GNUmakefile: make/toplevel.make.in
+GNUmakefile: GNUmakefile.in
        $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make
 
-aclocal.m4: $(stepdir)/../aclocal.m4
-       $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
+$(package-icon):
+       $(MAKE) -C Documentation/logo icon
 
 
-local-WWW: #index.html 
+top-doc:
+       $(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(TOPDOC_FILES)" txt-files
 
-index.html: check-top-web NEWS
-       $(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
-       $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=Documentation/top-docs/out-www/index.html $@
 
-WWW-clean:
-       $(MAKE) CONFIGSUFFIX='www' clean
+$(README_TXT_FILES): top-doc
 
-dist:
-       $(MAKE) update-state-vector
-       rm -rf $(distdir)
-       $(MAKE) local-dist $(distdir)
-       chmod -R a+r $(distdir)
-       chmod  a+x `find $(distdir) -type d -print` 
-       (cd ./$(depth)/$(outdir); $(TAR) cf - $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
-# ugh.
-# Can't compare "stage1" dist with "stage2" dist in this way?
-       -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
-       rm -rf ./$(distdir)/
+local-clean:
 
-local-help:
-       @echo -e "\
-  dist        roll tarball: $(outdir)/$(package)-$(TOPLEVEL_VERSION).tar.gz\n"
+install:
+       $(LOOP)
+ifeq ($(strip $(SRCMAKE)),)
+       $(MAKE) final-install
+endif
 
+local-help:
+       @echo "  config          rerun configure"
+       @echo "  dist            roll tarball: $(depth)/$(outdir)/$(distname).tar.gz"
+       @echo "  distclean       also remove configure output"
+       @echo "  cvs-clean       also remove out directories and generated files"
+       @echo "  maintainerclean also remove distributed generated files"
+       @echo "  po              make new translation Portable Object database"
+       @echo "  po-replace      do po-update and replace catalogs with msgmerged versions"
+       @echo "  po-update       update translation Portable Object database"
+       @echo
+       @echo "  install-doc     install website documentation in"
+       @echo "                    (webdir=$(webdir))"
+       @echo "                    and Info documentation with images"
+       @echo "  uninstall-doc   remove installed documentation with images"
+       @echo "  info            build Info documentation with images"
+       @echo "  install-info    install Info documentation with images"
+       @echo
+       @echo "Some more targets are available for testing changes:"
+       @echo "  test-baseline"
+       @echo "  check"
+       @echo "  test-redo"
+       @echo "  test-clean"
+       @echo
+       @echo "  For more information on these targets, see"
+       @echo "    \`Testing LilyPond' in the Contributor's Guide."
+       @echo