]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
release: 1.1.55
[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                 afm tfm cmtfm share/locale/*/LC_MESSAGES/lilypond.mo
10
11 local-maintainerclean:
12         rm -f configure
13
14 GNUmakefile: make/toplevel.make.in
15         $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make
16
17 ifneq ($(PACKAGE),STEPMAKE)
18 aclocal.m4: $(stepmake)/aclocal.m4
19         $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
20 endif
21
22 local-WWW: #index.html 
23
24 index.html: check-top-web NEWS
25         $(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
26         $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=Documentation/top-docs/out-www/index.html $@
27
28 WWW-clean: local-WWW-clean
29         $(MAKE) CONFIGSUFFIX='www' clean
30
31 local-WWW-clean:
32
33 dist:
34         rm -rf $(distdir)
35         $(MAKE) local-dist $(distdir)
36         chmod -R a+r $(distdir)
37         chmod  a+x `find $(distdir) -type d -print` 
38         (cd ./$(depth)/$(outdir); $(TAR) cf - $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
39 # ugh.
40 # Can't compare "stage1" dist with "stage2" dist in this way?
41         -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
42         rm -rf $(distdir)/
43
44 local-help:
45