]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
faf6124c8f43442eaab72342c8bb946b9453513f
[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
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