X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Ftoplevel-targets.make;h=c59d971b855e870bbe0c5252d70262701eaff075;hb=078703a6ab29f75983a55ac2cc35fe5f315da574;hp=975b3d2b1e20b61204763d84b18a4733e4047da9;hpb=79d916d1fa2a921732f7432e87b25058693be370;p=lilypond.git diff --git a/stepmake/stepmake/toplevel-targets.make b/stepmake/stepmake/toplevel-targets.make index 975b3d2b1e..c59d971b85 100644 --- a/stepmake/stepmake/toplevel-targets.make +++ b/stepmake/stepmake/toplevel-targets.make @@ -1,15 +1,12 @@ -# -*-Makefile-*- -# title Toplevel_targets.make - include $(stepdir)/www-targets.make local-dist: configure -# urg!: this gets into every package (ie: yodl) local-distclean: - rm -f config.h config.hh config.make Makefile GNUmakefile \ + 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 @@ -20,6 +17,10 @@ GNUmakefile: GNUmakefile.in 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 @@ -35,11 +36,11 @@ $(README_TXT_FILES): do-top-doc local-clean: -###check-top-web: -### $(MAKE) -C Documentation/topdocs WWW -##### - -####index.html: check-top-web NEWS +install: + $(LOOP) +ifeq ($(strip $(SRCMAKE)),) + $(MAKE) final-install +endif local-dist: do-top-doc @@ -48,7 +49,7 @@ dist: $(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) + (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) @@ -67,17 +68,16 @@ local-help: . release==\n\ . to=0.1.74.jcn2\n\ dist roll tarball: $(depth)/$(outdir)/$(distname).tar.gz\n\ - distclean cleaner than clean (duh)\n\ + distclean also remove configure output\n\ doc update all documentation\n\ - release roll tarball and generate patch\n\ - rpm build Red Hat package\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-clean clean out-www\n\ + release roll tarball and generate patch\n\ \n\ Some of these top level targets (diff, dist, release) can be issued\n\ from anywhere in the source tree.\n\ "\ # +