]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/GNUmakefile.in
c83a4cc8d721b0a08fc843d67041aea45a735edc
[lilypond.git] / stepmake / GNUmakefile.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 
13 else
14 SUBDIRS = stepmake
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 = 
23 EXTRA_DIST_FILES = $(IN_FILES) VERSION $(README_FILES)  $(SCRIPTS) INSTALL.texi
24 NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
25 #
26
27 # bootstrap stepmake:
28 #
29 STEPMAKE_TEMPLATES=toplevel texinfo
30 include $(depth)/make/stepmake.make 
31 #
32
33 # 2nd: THIS IS NO MISTAKE
34 # this makes lilypond's make dist descent into stepmake
35 # should check if we can remove the above
36 # descent order into subdirectories:
37 #
38 ifeq ($(PACKAGE),STEPMAKE)
39 SUBDIRS = bin make stepmake 
40 else
41 SUBDIRS = stepmake
42 endif
43 #
44
45 #urg urg
46 stepmake/aclocal.m4:
47         -$(LN) aclocal.m4 $@
48
49 ifeq ($(PACKAGE),STEPMAKE)
50 INSTALLATION_DIR=$(datadir)
51 INSTALLATION_FILES=$(DIST_FILES) $(NON_ESSENTIAL_DIST_FILES) GNUmakefile config.make config.status
52 include $(stepdir)/install-targets.make
53 endif
54
55 localclean:
56         rm -f bin/*.pyc
57         rm -f stepmake/stepmake stepmake/bin stepmake/aclocal.m4