]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
Clean up `make help' output.
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
1 .PHONY: install-doc uninstall-doc
2 install-doc:
3 uninstall-doc:
4
5 local-dist: configure
6
7 local-distclean:
8         rm -f config.hh config.make Makefile GNUmakefile \
9                 config.cache config.status config.log index.html \
10                 stepmake/stepmake/stepmake stepmake/stepmake/bin
11         rm -rf autom4te.cache
12         rm -rf $(outdir)
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
24 autogen.sh: $(stepmake)/autogen.sh
25         $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=\# -f $(stepdir)/automatically-generated.sub.make
26         chmod +x autogen.sh
27 endif
28
29
30 $(package-icon):
31         $(MAKE) -C Documentation/logo icon
32
33
34 top-doc:
35         $(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(TOPDOC_FILES)" txt-files
36
37
38 $(README_TXT_FILES): top-doc
39
40 local-clean:
41
42 install:
43         $(LOOP)
44 ifeq ($(strip $(SRCMAKE)),)
45         $(MAKE) final-install
46 endif
47
48 local-dist: top-doc
49
50 dist:
51         rm -rf $(distdir)
52         $(MAKE) local-dist $(distdir)
53         chmod -R a+r $(distdir)
54         chmod  a+x `find $(distdir) -type d -print`
55         (cd ./$(depth)/$(outdir); $(TAR) -cf -  --owner=0 --group=0 $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
56         rm -rf $(distdir)/
57
58 local-help:
59         @echo "  config          rerun configure"
60         @echo "  dist            roll tarball: $(depth)/$(outdir)/$(distname).tar.gz"
61         @echo "  distclean       also remove configure output"
62         @echo "  cvs-clean       also remove out directories and generated files"
63         @echo "  maintainerclean also remove distributed generated files"
64         @echo "  po              make new translation Portable Object database"
65         @echo "  po-replace      do po-update and replace catalogs with msgmerged versions"
66         @echo "  po-update       update translation Portable Object database"
67         @echo
68         @echo "  install-doc     install website documentation in"
69         @echo "                    (webdir=$(webdir))"
70         @echo "                    and Info documentation with images"
71         @echo "  uninstall-doc   remove installed documentation with images"
72         @echo "  info            build Info documentation with images"
73         @echo "  install-info    install Info documentation with images"
74         @echo
75         @echo "Some more targets are available for testing changes:"
76         @echo "  test-baseline"
77         @echo "  check"
78         @echo "  test-redo"
79         @echo "  test-clean"
80         @echo
81         @echo "  For more information on these targets, see"
82         @echo "    \`Testing LilyPond' in the Contributor's Guide."
83         @echo
84