]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
release: 1.1.63
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
1 # -*-Makefile-*-
2 # title    Toplevel_targets.make
3
4 local-dist: configure 
5
6 # urg!: this gets into every package (ie: yodl)
7 local-distclean: 
8         rm -f config.h config.hh config.make Makefile GNUmakefile \
9                 config.cache config.status config.log index.html \
10                 afm tfm cmtfm share/locale/*/LC_MESSAGES/lilypond.mo
11
12 local-maintainerclean:
13         rm -f configure
14
15 GNUmakefile: make/toplevel.make.in
16         $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make
17
18 ifneq ($(PACKAGE),STEPMAKE)
19 aclocal.m4: $(stepmake)/aclocal.m4
20         $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
21 endif
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: local-WWW-clean
30         $(MAKE) CONFIGSUFFIX='www' clean
31
32 local-WWW-clean:
33
34 dist:
35         rm -rf $(distdir)
36         $(MAKE) local-dist $(distdir)
37         chmod -R a+r $(distdir)
38         chmod  a+x `find $(distdir) -type d -print` 
39         (cd ./$(depth)/$(outdir); $(TAR) cf - $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
40 # ugh.
41 # Can't compare "stage1" dist with "stage2" dist in this way?
42         -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
43         rm -rf $(distdir)/
44
45 local-help:
46