]> git.donarmstrong.com Git - lilypond.git/blob - cygwin/GNUmakefile
* cygwin/GNUmakefile (INSTALLATION_OUT_SUFFIXES): Remove profile
[lilypond.git] / cygwin / GNUmakefile
1 depth = ..
2
3 NAME = cygwin
4
5 MKNETRELS = $(wildcard mknetrel mknetrel.*[a-z])
6 EXTRA_DIST_FILES = changelog $(MKNETRELS) $(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=$(wildcard postinstall*.sh)
19 OUT_POSTINSTALLS=$(POSTINSTALLS:%=$(outdir)/%)
20
21 POSTREMOVES=$(wildcard postremove*.sh)
22 OUT_POSTREMOVES=$(POSTREMOVES:%=$(outdir)/%)
23
24 default: $(OUT_POSTINSTALLS) $(OUT_POSTREMOVES) $(OUTIN_FILES) 
25
26 INSTALLATION_OUT_SUFFIXES=1
27
28 # Avoid collapsed directory constructs '//'
29 etc=$(patsubst %/, %, $(dir $(prefix)))/etc
30 INSTALLATION_DIR=$(etc)/postinstall
31 INSTALLATION_FILES=$(OUT_POSTINSTALLS)
32
33 INSTALLATION_OUT_DIR1=$(etc)/postremove
34 INSTALLATION_OUT_FILES1=$(OUT_POSTREMOVES)
35
36 endif
37