]> git.donarmstrong.com Git - lilypond.git/blob - cygwin/GNUmakefile
*** empty log message ***
[lilypond.git] / cygwin / GNUmakefile
1 depth = ..
2
3 NAME = cygwin
4
5 MKNETRELS = mknetrel $(call src-wildcard,mknetrel.*[a-z])
6 EXTRA_DIST_FILES = changelog $(MKNETRELS) $(call src-wildcard,*.hint)
7
8 SEXECUTABLES=bug-lilypond-cygwin lily-wins
9 STEPMAKE_TEMPLATES = install install-out script
10
11 include $(depth)/make/stepmake.make
12
13 # For Cygwin builds only
14 ifneq ($(CYGWIN_BUILD),)
15
16 include $(stepdir)/executable-targets.make
17
18 POSTINSTALLS=$(call src-wildcard,postinstall*.sh)
19 OUT_POSTINSTALLS=$(POSTINSTALLS:%=$(outdir)/%)
20
21 $(outdir)/%.sh: %.sh $(config_make)
22         cat $< | sed $(sed-atvariables) > $@
23         chmod 755 $@
24
25 default: $(OUT_POSTINSTALLS) $(OUTIN_FILES)
26
27 # Avoid collapsed directory constructs '//'
28 etc=$(patsubst %/,%, $(dir $(prefix)))/etc
29 INSTALLATION_OUT_DIR=$(etc)/postinstall
30 INSTALLATION_OUT_FILES=$(OUT_POSTINSTALLS)
31
32 endif
33