]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
release: 1.0.4
[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         chmod +w $@
15         echo "# WARNING WARNING WARNING WARNING" > $@
16         echo "# do not edit! this is generated from make/Toplevel.make.in" >> $@
17         cat $< >> $@
18         chmod -w $@
19
20 aclocal.m4: $(stepdir)/../aclocal.m4
21         cp $< $@
22
23 local-WWW: #index.html 
24
25 index.html: check-top-web NEWS
26         $(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
27         $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=Documentation/top-docs/out-www/index.html $@
28
29 WWW-clean:
30         $(MAKE) CONFIGSUFFIX='www' clean
31
32 dist:   
33         rm -rf $(distdir)
34         $(MAKE) local-dist $(distdir)
35         chmod -R a+r $(distdir)
36         chmod  a+x `find $(distdir) -type d -print` 
37         (cd ./$(depth)/$(outdir); $(TAR) cf - $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
38 # ugh.
39 # Can't compare "stage1" dist with "stage2" dist in this way?
40         -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
41         rm -rf ./$(distdir)/
42
43 local-help:
44         @echo -e "\
45   dist        roll tarball: $(outdir)/$(package)-$(TOPLEVEL_VERSION).tar.gz\n"
46
47