]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/toplevel-targets.make
Make distributed tarball from Git file list
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
index e671d3855a917d126668c78c0e3fcb95560a20e1..b1a05f0d0bb5c95425097cbe9be5dd855169aa43 100644 (file)
@@ -1,15 +1,15 @@
-include $(stepdir)/www-targets.make
+.PHONY: install-doc uninstall-doc
+install-doc:
+uninstall-doc:
 
-local-dist: configure 
-
-# urg!: this gets into every package (ie: yodl)
-local-distclean: 
-       rm -f config.h config.hh config.make Makefile GNUmakefile \
+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: GNUmakefile.in
        $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make
@@ -25,53 +25,47 @@ endif
 
 
 $(package-icon):
-       $(MAKE) -C Documentation/pictures icon
+       $(MAKE) -C Documentation/logo icon
 
 
-do-top-doc:
-       -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(README_TXT_FILES)" copy-to-top
+top-doc:
+       $(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(TOPDOC_FILES)" txt-files
 
 
-$(README_TXT_FILES): do-top-doc
+$(README_TXT_FILES): top-doc
 
 local-clean:
 
-local-dist: do-top-doc
-
-dist:
-       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 -  --owner=0 --group=0 $(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)/
+install:
+       $(LOOP)
+ifeq ($(strip $(SRCMAKE)),)
+       $(MAKE) final-install
+endif
 
-#
-#
 local-help:
-       @echo -e "\
-  config      rerun configure\n\
-  deb         build Debian package\n\
-  diff        generate patch: $(depth)/$(outdir)/$(distname).diff.gz\n\
-  .           Options:\n\
-  .             from=0.1.74\n\
-  .             help==\n\
-  .             release==\n\
-  .             to=0.1.74.jcn2\n\
-  dist        roll tarball: $(depth)/$(outdir)/$(distname).tar.gz\n\
-  distclean   cleaner than clean (duh)\n\
-  doc         update all documentation\n\
-  release     roll tarball and generate patch\n\
-  rpm         build rpm (Red Hat) package\n\
-  rpm-mdk     build rpm (Mandrake) packages\n\
-  po          make new translation Portable Object database\n\
-  po-replace  do po-update and replace catalogs with msgmerged versions\n\
-  po-update   update translation Portable Object database\n\
-\n\
-Some of these top level targets (diff, dist, release) can be issued\n\
-from anywhere in the source tree.\n\
-"\
-#
+       @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
+