5 MKNETRELS = $(wildcard mknetrel mknetrel.*[a-z])
6 EXTRA_DIST_FILES = changelog $(MKNETRELS) $(wildcard *.hint)
8 SEXECUTABLES=bug-lilypond-cygwin lily-wins
9 STEPMAKE_TEMPLATES = install install-out script
11 include $(depth)/make/stepmake.make
13 # For Cygwin builds only
14 ifneq ($(CYGWIN_BUILD),)
16 include $(stepdir)/executable-targets.make
18 POSTINSTALLS=$(wildcard postinstall*.sh)
19 OUT_POSTINSTALLS=$(POSTINSTALLS:%=$(outdir)/%)
21 $(outdir)/%.sh: %.sh $(config_make)
22 cat $< | sed $(sed-atvariables) > $@
25 default: $(OUT_POSTINSTALLS) $(OUTIN_FILES)
27 INSTALLATION_OUT_SUFFIXES=1
29 # Avoid collapsed directory constructs '//'
30 etc=$(patsubst %/, %, $(dir $(prefix)))/etc
31 INSTALLATION_DIR=$(etc)/postinstall
32 INSTALLATION_FILES=$(OUT_POSTINSTALLS)