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