]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
1 local-dist: configure
2
3 local-distclean:
4         rm -f config.hh config.make Makefile GNUmakefile \
5                 config.cache config.status config.log index.html \
6                 stepmake/stepmake/stepmake stepmake/stepmake/bin
7         rm -rf autom4te.cache
8
9 local-maintainerclean:
10         rm -f configure
11
12 GNUmakefile: GNUmakefile.in
13         $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make
14
15 ifneq ($(PACKAGE),STEPMAKE)
16 aclocal.m4: $(stepmake)/aclocal.m4
17         $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
18
19 autogen.sh: $(stepmake)/autogen.sh
20         $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=\# -f $(stepdir)/automatically-generated.sub.make
21         chmod +x autogen.sh
22 endif
23
24
25 $(package-icon):
26         $(MAKE) -C Documentation/pictures icon
27
28
29 do-top-doc:
30         -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(TOPDOC_FILES)" make-txt-files
31
32
33 $(README_TXT_FILES): do-top-doc
34
35 local-clean:
36
37 install:
38         $(LOOP)
39 ifeq ($(strip $(SRCMAKE)),)
40         $(MAKE) final-install
41 endif
42
43 local-dist: do-top-doc
44
45 dist:
46         rm -rf $(distdir)
47         $(MAKE) local-dist $(distdir)
48         chmod -R a+r $(distdir)
49         chmod  a+x `find $(distdir) -type d -print`
50         (cd ./$(depth)/$(outdir); $(TAR) -cf -  --owner=0 --group=0 $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
51         rm -rf $(distdir)/
52
53 local-help:
54         @echo -e "\
55   config      rerun configure\n\
56   dist        roll tarball: $(depth)/$(outdir)/$(distname).tar.gz\n\
57   distclean   also remove configure output\n\
58   doc         update all documentation (without images)\n\
59   cvs-clean   also remove out directories and generated files\n\
60   maintainerclean also remove distributed generated files\n\
61   po          make new translation Portable Object database\n\
62   po-replace  do po-update and replace catalogs with msgmerged versions\n\
63   po-update   update translation Portable Object database\n\
64 \n\
65 Some more targets are available for testing changes:\n\
66   test-baseline  check  test-redo  test-clean\n\
67 For more information on these targets, see Testing LilyPond\n\
68 in Application Usage documentation.\n"
69