]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/make/toplevel.make.in
efe53009ca2cde67bb8ee67c95bd62ec1d53e4a8
[lilypond.git] / stepmake / make / toplevel.make.in
1 # -*-Makefile-*-
2 # title  specific top level makefile for StepMake
3
4 # subdir level:
5 #
6 depth = .
7 #
8
9 # descent order into subdirectories:
10 #
11 ifeq ($(PACKAGE),STEPMAKE)
12 SUBDIRS = bin make stepmake Documentation
13 else
14 SUBDIRS =
15 endif
16 #
17
18 # list of distribution files:
19 #
20 SCRIPTS = configure aclocal.m4
21 README_FILES = CHANGES README TODO
22 README_TXT_FILES = AUTHORS.txt INSTALL.txt
23 EXTRA_DIST_FILES = $(IN_FILES) VERSION $(README_FILES)  $(SCRIPTS) 
24 NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
25 #
26
27 # bootstrap stepmake:
28 #
29 STEPMAKE_TEMPLATES=toplevel
30 include $(depth)/make/stepmake.make 
31 #
32
33 # descent order into subdirectories:
34 #
35 ifeq ($(PACKAGE),STEPMAKE)
36 SUBDIRS = bin make stepmake Documentation
37 else
38 SUBDIRS =
39 endif
40 #
41
42 #urg urg
43 stepmake/aclocal.m4:
44         -$(LN) aclocal.m4 $@
45
46 ifeq ($(PACKAGE),STEPMAKE)
47 INSTALLATION_DIR=$(datadir)
48 INSTALLATION_FILES=$(DIST_FILES) $(NON_ESSENTIAL_DIST_FILES) GNUmakefile config.make config.status
49 include $(stepdir)/install-targets.make
50 endif
51
52 localclean:
53         rm -f bin/*.pyc
54         rm -f stepmake/stepmake stepmake/bin stepmake/aclocal.m4