]> git.donarmstrong.com Git - lilypond.git/blob - make/Toplevel.make.in
release: 0.0.46.jcn1
[lilypond.git] / make / Toplevel.make.in
1 # -*-Makefile-*-
2 #
3 # @configure_input@
4 #
5 # project  LilyPond -- the musical typesetter
6 # title    top level makefile for LilyPond  
7 # file     Makefile 
8 #
9 # Copyright (c) 1997 by    
10 #       Jan Nieuwenhuizen <jan@digicash.com>
11 #       Han-Wen Nienhuys <hanwen@stack.nl>
12 #               ...your sort order here, or how to comment-out a comment
13
14 # subdir level:
15 #
16 depth = .
17 #
18
19 # identify module:
20 #
21 NAME = lilypond
22 include .version
23 include ./$(depth)/make/Version.make
24
25 # generic variables:
26 #
27 include ./$(depth)/make/Variables.make 
28 #
29
30 # descent order into subdirectories:
31 #
32 SUBDIRS = flower lib lily mi2mu \
33         Documentation bin init input tex make
34 #
35
36 # list of distribution files:
37 #
38 SCRIPTS = configure configure.in install-sh
39 README_FILES = ANNOUNCE COPYING NEWS README TODO INSTALL.text
40 EXTRA_DISTFILES=  .dstreamrc .version $(README_FILES) $(SCRIPTS) $(SYMLINKS)
41
42 # do not dist ./Makefile (is copied from make/Toplevel.make)
43 DISTFILES:=$(EXTRA_DISTFILES)# Makefile $(ALL_SOURCES)
44 #
45
46
47 # generic targets and rules:
48 #
49 include ./$(depth)/make/Targets.make
50 include ./$(depth)/make/Rules.make
51 #
52
53 localdist: configure
54
55 INSTALL.text: check-doc-deps
56         rm -f INSTALL.text
57         ln `find -name INSTALL.text|head -1` .
58
59 localdistclean:
60         rm -rf Makefile $(lily-version) $(flower-version) $(mi2mu-version) .b $(build) *~ $(allout) $(allgen) config.cache config.status
61
62
63
64 localclean:
65         rm -f $(allexe) core config.cache config.log config.status 
66         rm -f $(outdir)/*.{class,html,gif}
67
68 localinstall: all
69         $(INSTALL) -d $(bindir)
70         $(INSTALL) -m 755 $(allexe) $(bindir)
71
72 localuninstall:
73         for i in $(allexe); do rm -f $(bindir)/`basename $$i`; done