]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
cc4a156e1ae7e8b5726b18b2625a62a1c1ad9109
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
1 .PHONY: web-install
2 web-install:
3 web-uninstall:
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
13 local-maintainerclean:
14         rm -f configure
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/pictures icon
31
32
33 do-top-doc:
34         -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(TOPDOC_FILES)" make-txt-files
35
36
37 $(README_TXT_FILES): do-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: do-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 -e "\
59   config      rerun configure\n\
60   dist        roll tarball: $(depth)/$(outdir)/$(distname).tar.gz\n\
61   distclean   also remove configure output\n\
62   doc         update all documentation (without images)\n\
63   info        build Info documentation with images\n\
64   info-install  install Info documentation with images\n\
65   cvs-clean   also remove out directories and generated files\n\
66   maintainerclean also remove distributed generated files\n\
67   po          make new translation Portable Object database\n\
68   po-replace  do po-update and replace catalogs with msgmerged versions\n\
69   po-update   update translation Portable Object database\n\
70   web-install * install website documentation in (webdir=$(webdir))\n\
71               and Info documentation with images\n\
72   web-uninstall *  remove installed documentation with images\n\
73 \n\
74 Some more targets are available for testing changes:\n\
75   test-baseline  check  test-redo  test-clean\n\
76 For more information on these targets, see Testing LilyPond\n\
77 in Application Usage documentation.\n"
78