lilypond-1.5.14
[lilypond.git] / stepmake / GNUmakefile.in
bloba50edb862e2167e7f34200b51a16056bf3e2892d
1 # -*-Makefile-*-
2 # title specific top level makefile for StepMake
4 # subdir level:
6 depth = .
9 # descent order into subdirectories:
11 ifeq ($(PACKAGE),STEPMAKE)
12 SUBDIRS = bin make stepmake
13 else
14 SUBDIRS = stepmake
15 endif
18 # list of distribution files:
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) INSTALL.texi
24 NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
27 # bootstrap stepmake:
29 STEPMAKE_TEMPLATES=toplevel texinfo
30 include $(depth)/make/stepmake.make
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:
38 ifeq ($(PACKAGE),STEPMAKE)
39 SUBDIRS = bin make stepmake
40 else
41 SUBDIRS = stepmake
42 endif
45 #urg urg
46 stepmake/aclocal.m4:
47 -$(LN) aclocal.m4 $@
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
55 localclean:
56 rm -f bin/*.pyc
57 rm -f stepmake/stepmake stepmake/bin stepmake/aclocal.m4