]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/toplevel-targets.make
Merge commit 'origin/dev/jneeman' into systems-per-page
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
index 4ceee9def03d0c8468e9ebf498c68e9a40bbb29c..a9f8909fa6a53ad48856873c980d2584e98dae24 100644 (file)
@@ -1,12 +1,14 @@
-include $(stepdir)/www-targets.make
+.PHONY: web-install
+web-install:
+web-uninstall:
 
-local-dist: configure 
+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
 
 local-maintainerclean:
        rm -f configure
@@ -29,52 +31,46 @@ $(package-icon):
 
 
 do-top-doc:
-       -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(README_TXT_FILES)" copy-to-top
+       -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(TOPDOC_FILES)" make-txt-files
 
 
 $(README_TXT_FILES): do-top-doc
 
 local-clean:
 
+install:
+       $(LOOP)
+ifeq ($(strip $(SRCMAKE)),)
+       $(MAKE) final-install
+endif
+
 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` 
+       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)/
 
-#
-#
 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-mandrake build rpm (Mandrake) packages\n\
+  distclean   also remove configure output\n\
+  doc         update all documentation (without images)\n\
+  cvs-clean   also remove out directories and generated files\n\
+  maintainerclean also remove distributed generated files\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\
-  web         update website in out-www\n\
-  web-doc     generate documentation website\n\
-  web-clean   clean out-www\n\
+  web-install * install website documentation in (webdir=$(webdir))\n\
+              and Info documentation with images\n\
+  web-uninstall *  remove installed documentation with images\n\
 \n\
-Some of these top level targets (diff, dist, release) can be issued\n\
-from anywhere in the source tree.\n\
-"\
-#
+Some more targets are available for testing changes:\n\
+  test-baseline  check  test-redo  test-clean\n\
+For more information on these targets, see Testing LilyPond\n\
+in Application Usage documentation.\n"
+