X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Ftoplevel-targets.make;h=bd2f3d7932ba848988966fb1334fd6c398d322b7;hb=a9d9433bc7b95cb2d4b3d96eefce7a8437c0d44e;hp=daf0e7c8da4fe9384c194114a47d8a22edbf3611;hpb=91629326e2c28dab86952c2abbe786978b7c1e92;p=lilypond.git diff --git a/stepmake/stepmake/toplevel-targets.make b/stepmake/stepmake/toplevel-targets.make index daf0e7c8da..bd2f3d7932 100644 --- a/stepmake/stepmake/toplevel-targets.make +++ b/stepmake/stepmake/toplevel-targets.make @@ -1,46 +1,70 @@ -# -*-Makefile-*- -# title Toplevel_targets.make +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 \ - afm tfm cmtfm share/locale/*/LC_MESSAGES/lilypond.mo + stepmake/stepmake/stepmake stepmake/stepmake/bin + rm -rf autom4te.cache local-maintainerclean: rm -f configure -GNUmakefile: make/toplevel.make.in +GNUmakefile: GNUmakefile.in $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make ifneq ($(PACKAGE),STEPMAKE) aclocal.m4: $(stepmake)/aclocal.m4 $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make + +autogen.sh: $(stepmake)/autogen.sh + $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=\# -f $(stepdir)/automatically-generated.sub.make + chmod +x autogen.sh endif -local-WWW: #index.html -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 $@ +$(package-icon): + $(MAKE) -C Documentation/pictures icon + + +do-top-doc: + -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(TOPDOC_FILES)" make-txt-files -WWW-clean: local-WWW-clean - $(MAKE) CONFIGSUFFIX='www' clean -local-WWW-clean: +$(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` - (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) + 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) rm -rf $(distdir)/ local-help: + @echo -e "\ + web-uninstall remove installed documentation with images\n\ + config rerun configure\n\ + dist roll tarball: $(depth)/$(outdir)/$(distname).tar.gz\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\ +\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"