]> git.donarmstrong.com Git - lilypond.git/blobdiff - cygwin/GNUmakefile
more comments in files.
[lilypond.git] / cygwin / GNUmakefile
index cd46ca533dc80e51f68810e68f5165b596c99fbf..93fc10c5960107d5d541ecd6886746e7fd8203b0 100644 (file)
@@ -2,14 +2,17 @@ depth = ..
 
 NAME = cygwin
 
-EXTRA_DIST_FILES = changelog mknetrel $(wildcard *.sh *.hint)
+EXTRA_DIST_FILES = changelog mknetrel $(wildcard *.hint)
+
+SEXECUTABLES=bug-lilypond-cygwin
+STEPMAKE_TEMPLATES = install install-out script
 
 include $(depth)/make/stepmake.make
 
-# For cygwin builds only
+# For Cygwin builds only
 ifneq ($(CYGWIN_BUILD),)
 
-STEPMAKE_TEMPLATES = install install-out
+include $(stepdir)/executable-targets.make
 
 POST_INSTALLS=$(wildcard post-*.sh)
 OUT_POST_INSTALLS=$(POST_INSTALLS:%=$(outdir)/%)
@@ -27,17 +30,11 @@ $(outdir)/lilypond-profile.sh: $(outdir)/../$(depth)/buildscripts/$(outconfbase)
        cp $< $@
        chmod 755 $@
 
-default: $(OUT_POST_INSTALLS) $(OUT_PROFILES) $(OUTIN_FILES)
+default: $(OUT_POST_INSTALLS) $(OUT_PROFILES) $(OUTIN_FILES) 
 
 INSTALLATION_OUT_SUFFIXES=1 2
 
-# URG.
-# By popular demand,
-# LilyPond on windows is configured with --prefix=/usr/lilypond-x.y.x
-# The cygwin profile.d dir, however, is in /etc
-
-# avoid collapsed directory constructs '//'
-#etc=$(dir $(patsubst %/, %, $(dir $(prefix)/)))etc
+# Avoid collapsed directory constructs '//'
 etc=$(patsubst %/, %, $(dir $(prefix)))/etc
 INSTALLATION_DIR=$(etc)/postinstall
 INSTALLATION_FILES=$(OUT_POST_INSTALLS)