]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/toplevel-targets.make
patch::: 1.3.140.jcn5
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
index 2039b624ccb20a6b571e1a8f886c51b672cad134..975b3d2b1e20b61204763d84b18a4733e4047da9 100644 (file)
@@ -1,6 +1,8 @@
 # -*-Makefile-*-
 # title           Toplevel_targets.make
 
+include $(stepdir)/www-targets.make
+
 local-dist: configure 
 
 # urg!: this gets into every package (ie: yodl)
@@ -20,15 +22,26 @@ aclocal.m4: $(stepmake)/aclocal.m4
        $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
 endif
 
-local-WWW: #index.html 
 
-index.html: check-top-web NEWS
-##     $(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
+$(package-icon):
+       $(MAKE) -C Documentation/pictures icon
+
+
+do-top-doc:
+       -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(README_TXT_FILES)" copy-to-top
+
 
-WWW-clean: local-WWW-clean
-       $(MAKE) out='www' clean
+$(README_TXT_FILES): do-top-doc
 
-local-WWW-clean:
+local-clean:
+
+###check-top-web:
+###    $(MAKE) -C Documentation/topdocs WWW
+#####
+
+####index.html: check-top-web NEWS
+
+local-dist: do-top-doc
 
 dist:
        rm -rf $(distdir)
@@ -41,5 +54,30 @@ dist:
        -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 Red Hat package\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-clean   clean out-www\n\
+\n\
+Some of these top level targets (diff, dist, release) can be issued\n\
+from anywhere in the source tree.\n\
+"\
+#