]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
release: 1.0.6
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
1 # -*-Makefile-*-
2 # title    Toplevel_targets.make
3
4 local-dist: configure 
5
6 local-distclean: 
7         rm -f config.hh config.make Makefile config.cache \
8                 config.status config.log index.html
9
10 local-maintainerclean:
11         rm -f configure
12
13 GNUmakefile: make/toplevel.make.in
14         $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make
15
16 aclocal.m4: $(stepdir)/../aclocal.m4
17         $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
18
19
20 local-WWW: #index.html 
21
22 index.html: check-top-web NEWS
23         $(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
24         $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=Documentation/top-docs/out-www/index.html $@
25
26 WWW-clean:
27         $(MAKE) CONFIGSUFFIX='www' clean
28
29 dist:
30         $(MAKE) update-state-vector
31         rm -rf $(distdir)
32         $(MAKE) local-dist $(distdir)
33         chmod -R a+r $(distdir)
34         chmod  a+x `find $(distdir) -type d -print` 
35         (cd ./$(depth)/$(outdir); $(TAR) cf - $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
36 # ugh.
37 # Can't compare "stage1" dist with "stage2" dist in this way?
38         -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
39         rm -rf ./$(distdir)/
40
41 local-help:
42         @echo -e "\
43   dist        roll tarball: $(outdir)/$(package)-$(TOPLEVEL_VERSION).tar.gz\n"
44
45