]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
patch::: 1.1.16.jcn1: fixjes
[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 ifneq ($(PACKAGE),STEPMAKE)
17 aclocal.m4: $(stepmake)/aclocal.m4
18         $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
19 endif
20
21 local-WWW: #index.html 
22
23 index.html: check-top-web NEWS
24         $(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
25         $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=Documentation/top-docs/out-www/index.html $@
26
27 WWW-clean:
28         $(MAKE) CONFIGSUFFIX='www' clean
29
30 dist:
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