]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
release: 1.3.143
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
1 # -*-Makefile-*-
2 # title    Toplevel_targets.make
3
4 include $(stepdir)/www-targets.make
5
6 local-dist: configure 
7
8 # urg!: this gets into every package (ie: yodl)
9 local-distclean: 
10         rm -f config.h config.hh config.make Makefile GNUmakefile \
11                 config.cache config.status config.log index.html \
12                 afm tfm cmtfm share/locale/*/LC_MESSAGES/lilypond.mo
13
14 local-maintainerclean:
15         rm -f configure
16
17 GNUmakefile: GNUmakefile.in
18         $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make
19
20 ifneq ($(PACKAGE),STEPMAKE)
21 aclocal.m4: $(stepmake)/aclocal.m4
22         $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
23 endif
24
25
26 $(package-icon):
27         $(MAKE) -C Documentation/pictures icon
28
29
30 do-top-doc:
31         -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(README_TXT_FILES)" copy-to-top
32
33
34 $(README_TXT_FILES): do-top-doc
35
36 local-clean:
37
38 ###check-top-web:
39 ###     $(MAKE) -C Documentation/topdocs WWW
40 #####
41
42 ####index.html: check-top-web NEWS
43
44 local-dist: do-top-doc
45
46 dist:
47         rm -rf $(distdir)
48         $(MAKE) local-dist $(distdir)
49         chmod -R a+r $(distdir)
50         chmod  a+x `find $(distdir) -type d -print` 
51         (cd ./$(depth)/$(outdir); $(TAR) cf - $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
52 # ugh.
53 # Can't compare "stage1" dist with "stage2" dist in this way?
54         -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
55         rm -rf $(distdir)/
56
57 #
58 #
59 local-help:
60         @echo -e "\
61   config      rerun configure\n\
62   deb         build Debian package\n\
63   diff        generate patch: $(depth)/$(outdir)/$(distname).diff.gz\n\
64   .           Options:\n\
65   .             from=0.1.74\n\
66   .             help==\n\
67   .             release==\n\
68   .             to=0.1.74.jcn2\n\
69   dist        roll tarball: $(depth)/$(outdir)/$(distname).tar.gz\n\
70   distclean   cleaner than clean (duh)\n\
71   doc         update all documentation\n\
72   release     roll tarball and generate patch\n\
73   rpm         build Red Hat package\n\
74   po          make new translation Portable Object database\n\
75   po-replace  do po-update and replace catalogs with msgmerged versions\n\
76   po-update   update translation Portable Object database\n\
77   web         update website in out-www\n\
78   web-doc     generate documentation website\n\
79   web-clean   clean out-www\n\
80 \n\
81 Some of these top level targets (diff, dist, release) can be issued\n\
82 from anywhere in the source tree.\n\
83 "\
84 #