]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/toplevel-targets.make
* stepmake/stepmake/*:
[lilypond.git] / stepmake / stepmake / toplevel-targets.make
1 include $(stepdir)/www-targets.make
2
3 local-dist: configure 
4
5 local-distclean: 
6         rm -f config.hh config.make Makefile GNUmakefile \
7                 config.cache config.status config.log index.html \
8                 stepmake/stepmake/stepmake stepmake/stepmake/bin
9         rm -rf autom4te.cache
10
11 local-maintainerclean:
12         rm -f configure
13
14 GNUmakefile: GNUmakefile.in
15         $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make
16
17 ifneq ($(PACKAGE),STEPMAKE)
18 aclocal.m4: $(stepmake)/aclocal.m4
19         $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
20
21 autogen.sh: $(stepmake)/autogen.sh
22         $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=\# -f $(stepdir)/automatically-generated.sub.make
23         chmod +x autogen.sh
24 endif
25
26
27 $(package-icon):
28         $(MAKE) -C Documentation/pictures icon
29
30
31 do-top-doc:
32         -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(README_TXT_FILES)" copy-to-top
33
34
35 $(README_TXT_FILES): do-top-doc
36
37 local-clean:
38
39 install:
40         $(LOOP)
41 ifeq ($(strip $(SRCMAKE)),)
42         $(MAKE) final-install
43 endif
44
45 local-dist: do-top-doc
46
47 dist:
48         rm -rf $(distdir)
49         $(MAKE) local-dist $(distdir)
50         chmod -R a+r $(distdir)
51         chmod  a+x `find $(distdir) -type d -print` 
52         (cd ./$(depth)/$(outdir); $(TAR) -cf -  --owner=0 --group=0 $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
53 # ugh.
54 # Can't compare "stage1" dist with "stage2" dist in this way?
55         -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
56         rm -rf $(distdir)/
57
58 #
59 #
60 local-help:
61         @echo -e "\
62   config      rerun configure\n\
63   deb         build Debian package\n\
64   diff        generate patch: $(depth)/$(outdir)/$(distname).diff.gz\n\
65   .           Options:\n\
66   .             from=0.1.74\n\
67   .             help==\n\
68   .             release==\n\
69   .             to=0.1.74.jcn2\n\
70   dist        roll tarball: $(depth)/$(outdir)/$(distname).tar.gz\n\
71   distclean   also remove configure output\n\
72   doc         update all documentation\n\
73   maintainerclean also remove distributed generated files\n\
74   po          make new translation Portable Object database\n\
75   po-replace  do po-update and replace catalogs with msgmerged versions\n\
76   po-update   update translation Portable Object database\n\
77   release     roll tarball and generate patch\n\
78 \n\
79 Some of these top level targets (diff, dist, release) can be issued\n\
80 from anywhere in the source tree.\n\
81 "\
82 #
83