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 default: $(OUT_POSTINSTALLS) $(OUT_POSTREMOVES) $(OUTIN_FILES)
26 INSTALLATION_OUT_SUFFIXES=1
28 # Avoid collapsed directory constructs '//'
29 etc=$(patsubst %/, %, $(dir $(prefix)))/etc
30 INSTALLATION_DIR=$(etc)/postinstall
31 INSTALLATION_FILES=$(OUT_POSTINSTALLS)
33 INSTALLATION_OUT_DIR1=$(etc)/postremove
34 INSTALLATION_OUT_FILES1=$(OUT_POSTREMOVES)