]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
Update documentation targets
[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
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 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 -e "\
59   config      rerun configure\n\
60   dist        roll tarball: $(depth)/$(outdir)/$(distname).tar.gz\n\
61   distclean   also remove configure output\n\
62   cvs-clean   also remove out directories and generated files\n\
63   maintainerclean also remove distributed generated files\n\
64   po          make new translation Portable Object database\n\
65   po-replace  do po-update and replace catalogs with msgmerged versions\n\
66   po-update   update translation Portable Object database\n\
67 \n\
68   install-doc install website documentation in (webdir=$(webdir))\n\
69               and Info documentation with images\n\
70   uninstall-doc remove installed documentation with images\n\
71   info        build Info documentation with images\n\
72   install-info  install Info 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