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