]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
release: 1.1.44
[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.h config.hh config.make Makefile GNUmakefile \
8                 config.cache 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: local-WWW-clean
28         $(MAKE) CONFIGSUFFIX='www' clean
29
30 local-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