]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[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 -e "\
60   config      rerun configure\n\
61   dist        roll tarball: $(depth)/$(outdir)/$(distname).tar.gz\n\
62   distclean   also remove configure output\n\
63   cvs-clean   also remove out directories and generated files\n\
64   maintainerclean also remove distributed generated files\n\
65   po          make new translation Portable Object database\n\
66   po-replace  do po-update and replace catalogs with msgmerged versions\n\
67   po-update   update translation Portable Object database\n\
68 \n\
69   install-doc install website documentation in (webdir=$(webdir))\n\
70               and Info documentation with images\n\
71   uninstall-doc remove installed documentation with images\n\
72   info        build Info documentation with images\n\
73   install-info  install Info documentation with images\n\
74 \n\
75 Some more targets are available for testing changes:\n\
76   test-baseline  check  test-redo  test-clean\n\
77 For more information on these targets, see Testing LilyPond\n\
78 in Application Usage documentation.\n"
79