5 MKNETRELS = mknetrel $(call src-wildcard,mknetrel.*[a-z])
6 EXTRA_DIST_FILES = changelog $(MKNETRELS) $(call src-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=$(call src-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 # Avoid collapsed directory constructs '//'
28 etc=$(patsubst %/,%, $(dir $(prefix)))/etc
29 INSTALLATION_OUT_DIR=$(etc)/postinstall
30 INSTALLATION_OUT_FILES=$(OUT_POSTINSTALLS)