]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/toplevel-targets.make
Imported sources
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
index a8e4dea6eb510e1cfbf29f7229d6e598c05ad514..fe29adffbfb6bee9033c3be3b3a1a4358964a024 100644 (file)
@@ -1,6 +1,3 @@
-# -*-Makefile-*-
-# title           Toplevel_targets.make
-
 include $(stepdir)/www-targets.make
 
 local-dist: 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)
@@ -70,15 +71,12 @@ local-help:
   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-doc     generate documentation website\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\
 "\
 #
+