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