]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/toplevel-targets.make
release: 1.1.44
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
index b5423aa25de9e1e897c86e6b96df74853ace8384..6a627fe2d5772a7048d98c2cf448e34f5936948c 100644 (file)
@@ -4,8 +4,8 @@
 local-dist: configure 
 
 local-distclean: 
-       rm -f config.hh config.make Makefile config.cache \
-               config.status config.log index.html
+       rm -f config.h config.hh config.make Makefile GNUmakefile \
+               config.cache config.status config.log index.html
 
 local-maintainerclean:
        rm -f configure
@@ -13,9 +13,10 @@ local-maintainerclean:
 GNUmakefile: make/toplevel.make.in
        $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make
 
-aclocal.m4: $(stepdir)/../aclocal.m4
+ifneq ($(PACKAGE),STEPMAKE)
+aclocal.m4: $(stepmake)/aclocal.m4
        $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
-
+endif
 
 local-WWW: #index.html 
 
@@ -23,9 +24,11 @@ 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 $@
 
-WWW-clean:
+WWW-clean: local-WWW-clean
        $(MAKE) CONFIGSUFFIX='www' clean
 
+local-WWW-clean:
+
 dist:
        rm -rf $(distdir)
        $(MAKE) local-dist $(distdir)
@@ -35,10 +38,7 @@ dist:
 # ugh.
 # Can't compare "stage1" dist with "stage2" dist in this way?
        -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
-       rm -rf ./$(distdir)/
+       rm -rf $(distdir)/
 
 local-help:
-       @echo -e "\
-  dist        roll tarball: $(outdir)/$(package)-$(TOPLEVEL_VERSION).tar.gz\n"
-