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 POSTREMOVES=$(wildcard postremove*.sh)
22 OUT_POSTREMOVES=$(POSTREMOVES:%=$(outdir)/%)
24 $(outdir)/%.sh: %.sh $(config_make)
25 cat $< | sed $(sed-atvariables) > $@
28 default: $(OUT_POSTINSTALLS) $(OUT_POSTREMOVES) $(OUTIN_FILES)
30 INSTALLATION_OUT_SUFFIXES=1
32 # Avoid collapsed directory constructs '//'
33 etc=$(patsubst %/, %, $(dir $(prefix)))/etc
34 INSTALLATION_DIR=$(etc)/postinstall
35 INSTALLATION_FILES=$(OUT_POSTINSTALLS)
37 INSTALLATION_OUT_DIR1=$(etc)/postremove
38 INSTALLATION_OUT_FILES1=$(OUT_POSTREMOVES)