* python/lilylib.py (setup_temp): temporary directories are mode 700.
[lilypond.git] / make / srcdir.make.in
blob95954a1b234d6f0ac18b9e4598661b92761ef1ed
1 # -*-Makefile-*-
2 # specific srcdir makefile for LilyPond
4 depth=.
6 # Don't try to outsmart us, you puny computer!
7 ifeq (0,${MAKELEVEL})
8 MAKE:=$(MAKE) --no-builtin-rules
9 endif
11 # Use alternate configurations alongside eachother:
13 # ./configure --enable-configsuffix=debug
14 # make conf=debug
16 # uses config-debug.make and config-debug.h; output goes to out-debug.
18 ifdef conf
19 CONFIGSUFFIX=-$(conf)
20 endif
22 # Use same configuration, but different output directory:
24 # make out=WWW
26 # uses config.make and config.h; output goes to out-WWW.
28 ifdef out
29 outbase=out-$(out)
30 else
31 outbase=out$(CONFIGSUFFIX)
32 endif
34 config = config$(CONFIGSUFFIX).make
36 include $(config)
38 SRCDIR=$(MAKE) -C $(srcdir) -f GNUmakefile.in builddir=$(builddir) $@
40 default: all
43 $(SRCDIR)