]> git.donarmstrong.com Git - lilypond.git/blobdiff - cygwin/GNUmakefile
* stepmake/stepmake/generic-vars.make (DIST_FILES): Fix
[lilypond.git] / cygwin / GNUmakefile
index c1c91087d85ebefa5668af83ea9a2654f7e01533..7b53ec5766061874b2d4cffadb2f346b5ce9fabe 100644 (file)
@@ -2,9 +2,10 @@ depth = ..
 
 NAME = cygwin
 
-EXTRA_DIST_FILES = changelog mknetrel $(wildcard *.sh *.hint)
+MKNETRELS = mknetrel $(call src-wildcard,mknetrel.*[a-z])
+EXTRA_DIST_FILES = changelog $(MKNETRELS) $(call src-wildcard,*.hint)
 
-SEXECUTABLES=bug-lilypond-cygwin
+SEXECUTABLES=bug-lilypond-cygwin lily-wins
 STEPMAKE_TEMPLATES = install install-out script
 
 include $(depth)/make/stepmake.make
@@ -14,36 +15,21 @@ ifneq ($(CYGWIN_BUILD),)
 
 include $(stepdir)/executable-targets.make
 
-POST_INSTALLS=$(wildcard post-*.sh)
-OUT_POST_INSTALLS=$(POST_INSTALLS:%=$(outdir)/%)
+POSTINSTALLS=$(call src-wildcard,postinstall*.sh)
+OUT_POSTINSTALLS=$(POSTINSTALLS:%=$(outdir)/%)
 
-PROFILES=$(wildcard *-profile.sh) lilypond-profile.sh
-OUT_PROFILES=$(PROFILES:%=$(outdir)/%)
-
-# profiles
-$(outdir)/%.sh: %.sh
+$(outdir)/%.sh: %.sh $(config_make)
        cat $< | sed $(sed-atvariables) > $@
        chmod 755 $@
 
-# Urg
-$(outdir)/lilypond-profile.sh: $(outdir)/../$(depth)/buildscripts/$(outconfbase)/lilypond-profile
-       cp $< $@
-       chmod 755 $@
-
-default: $(OUT_POST_INSTALLS) $(OUT_PROFILES) $(OUTIN_FILES) 
+default: $(OUT_POSTINSTALLS) $(OUTIN_FILES) 
 
-INSTALLATION_OUT_SUFFIXES=1 2
+INSTALLATION_OUT_SUFFIXES=1
 
 # Avoid collapsed directory constructs '//'
 etc=$(patsubst %/, %, $(dir $(prefix)))/etc
 INSTALLATION_DIR=$(etc)/postinstall
-INSTALLATION_FILES=$(OUT_POST_INSTALLS)
-
-INSTALLATION_OUT_DIR1=$(etc)/profile.d
-INSTALLATION_OUT_FILES1=$(OUT_PROFILES)
-
-INSTALLATION_OUT_DIR2=$(local_lilypond_datadir)/tex
-INSTALLATION_OUT_FILES2=$(shell kpsewhich geometry.sty)
+INSTALLATION_FILES=$(OUT_POSTINSTALLS)
 
 endif