4 EXTRA_DIST_FILES = LilyPond.ico $(wildcard *.sh *.patch *.hint)
6 STEPMAKE_TEMPLATES=documentation texinfo install install-out
8 include $(depth)/make/stepmake.make
14 # For cygwin builds only
15 target=$(shell gcc -dumpmachine)
16 ifeq ($(target),i686-pc-cygwin)
18 POST_INSTALLS=$(wildcard post-*.sh)
19 OUT_POST_INSTALLS=$(POST_INSTALLS:%=$(outdir)/%)
21 PROFILES=$(wildcard *-profile.sh) lilypond-profile.sh
22 OUT_PROFILES=$(PROFILES:%=$(outdir)/%)
26 cat $< | sed $(sed-atvariables) > $@
30 $(outdir)/lilypond-profile.sh: $(outdir)/../$(depth)/buildscripts/out/lilypond-profile
34 default: $(OUT_POST_INSTALLS) $(OUT_PROFILES)
36 INSTALLATION_OUT_SUFFIXES=1 2
40 # LilyPond on windows is configured with --prefix=/usr/lilypond-x.y.x
41 # The cygwin profile.d dir, however, is in /etc
43 # avoid collapsed directory constructs '//'
44 etc=$(dir $(patsubst %/, %, $(dir $(prefix))))etc
45 INSTALLATION_DIR=$(etc)/postinstall
46 INSTALLATION_FILES=$(OUT_POST_INSTALLS)
48 INSTALLATION_OUT_DIR1=$(etc)/profile.d
49 INSTALLATION_OUT_FILES1=$(OUT_PROFILES)
51 INSTALLATION_OUT_DIR2=$(datadir)/tex
52 INSTALLATION_OUT_FILES2=$(shell kpsewhich geometry.sty)
59 local-install-outfiles: