From 858dbb5226b37cb180192e9f71b504428b7c28f3 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Mon, 25 Apr 2005 14:16:50 +0000 Subject: [PATCH] * cygwin/GNUmakefile (INSTALLATION_OUT_SUFFIXES): Remove profile stuff. * Documentation/user/GNUmakefile: Only build music-glossary with rendered lilypond snippets during web. --- ChangeLog | 3 +++ Documentation/user/GNUmakefile | 16 ++++++++-------- cygwin/GNUmakefile | 27 ++++----------------------- make/stepmake.make | 2 +- 4 files changed, 16 insertions(+), 32 deletions(-) diff --git a/ChangeLog b/ChangeLog index a587b30b79..186b532abe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-04-25 Jan Nieuwenhuizen + * cygwin/GNUmakefile (INSTALLATION_OUT_SUFFIXES): Remove profile + stuff. + * scm/output-ps.scm (grob-cause): Bugfix. * scm/lily.scm (ly:load): Remove x11-color. diff --git a/Documentation/user/GNUmakefile b/Documentation/user/GNUmakefile index 8f7c0c345e..0ba8a4dbab 100644 --- a/Documentation/user/GNUmakefile +++ b/Documentation/user/GNUmakefile @@ -3,15 +3,16 @@ depth=../.. LATEX_FILES =$(wildcard *.latex) # todo: add latex. -DVI_FILES = $(addprefix $(outdir)/, $(TELY_FILES:.tely=.dvi)) +DVI_FILES = $(TELY_FILES:%.tely=$(outdir)/%.dvi) EXTRA_DIST_FILES= $(LATEX_FILES) $(IMAGES) IMAGES=$(wildcard *.png) -OUT_EPS_IMAGES=$(addprefix $(outdir)/,$(IMAGES:.png=.eps)) -OUT_PNG_IMAGES=$(addprefix $(outdir)/,$(IMAGES)) -OUT_ITEXI_FILES=$(addprefix $(outdir)/,$(ITELY_FILES:.itely=.itexi) -HTML_FILES = $(addprefix $(outdir)/, $(TELY_FILES:.tely=.html))\ +OUT_EPS_IMAGES=$(IMAGES:%.png=$(outdir)/%.eps) +OUT_PNG_IMAGES=$(IMAGES:%=$(outdir)/%) +OUT_TEXI_FILES=$(ITEXI_FILES:%.itexi=$(outdir)/%.texi)\ + $(ITELY_FILES:%.itely=$(outdir)/%.texi) +HTML_FILES = $(TELY_FILES:%.tely=$(outdir)/%.html)\ $(outdir)/lilypond-internals.html PS_FILES = $(DVI_FILES:.dvi=.ps) @@ -241,7 +242,7 @@ $(builddir)/mf/$(outconfbase)/feta16list.ly: $(outdir)/lilypond.texi: $(ITELY_FILES) $(ITEXI_FILES) $(outdir)/lilypond.nexi: $(ITELY_FILES) $(ITEXI_FILES) -# Prevent music-glossary.texi from default +# Prevent building music-glossary.texi from default target $(outdir)/music-glossary.nexi: # Rules for the automatically generated documentation @@ -269,11 +270,10 @@ $(outdir)/lilypond-internals.nexi $(outdir)/lilypond-internals.texi: touch $@ touch $(outdir)/$(*F).nexi -$(outdir)/interfaces.itexi: +$(outdir)/programming-interface.texi: cp dummy-interfaces.itexi $@ endif - local-clean: local-delete local-delete: diff --git a/cygwin/GNUmakefile b/cygwin/GNUmakefile index eaef835078..ecfe3b5171 100644 --- a/cygwin/GNUmakefile +++ b/cygwin/GNUmakefile @@ -21,36 +21,17 @@ OUT_POSTINSTALLS=$(POSTINSTALLS:%=$(outdir)/%) POSTREMOVES=$(wildcard postremove*.sh) OUT_POSTREMOVES=$(POSTREMOVES:%=$(outdir)/%) -PROFILES=$(wildcard *-profile.sh) lilypond-profile.sh -OUT_PROFILES=$(PROFILES:%=$(outdir)/%) +default: $(OUT_POSTINSTALLS) $(OUT_POSTREMOVES) $(OUTIN_FILES) -# profiles -$(outdir)/%.sh: %.sh $(config_make) - cat $< | sed $(sed-atvariables) > $@ - chmod 755 $@ - -# Get profile from buildscripts -$(outdir)/lilypond-profile.sh: $(outdir)/../$(depth)/buildscripts/$(outconfbase)/lilypond-profile - cp $< $@ - chmod 755 $@ - -default: $(OUT_POSTINSTALLS) $(OUT_POSTREMOVES) $(OUT_PROFILES) $(OUTIN_FILES) - -INSTALLATION_OUT_SUFFIXES=1 2 # 3 +INSTALLATION_OUT_SUFFIXES=1 # Avoid collapsed directory constructs '//' etc=$(patsubst %/, %, $(dir $(prefix)))/etc INSTALLATION_DIR=$(etc)/postinstall INSTALLATION_FILES=$(OUT_POSTINSTALLS) -INSTALLATION_OUT_DIR1=$(etc)/profile.d -INSTALLATION_OUT_FILES1=$(OUT_PROFILES) - -INSTALLATION_OUT_DIR2=$(etc)/postremove -INSTALLATION_OUT_FILES2=$(OUT_POSTREMOVES) - -# INSTALLATION_OUT_DIR3=$(local_lilypond_datadir)/tex -# INSTALLATION_OUT_FILES3=$(shell kpsewhich geometry.sty) +INSTALLATION_OUT_DIR1=$(etc)/postremove +INSTALLATION_OUT_FILES1=$(OUT_POSTREMOVES) endif diff --git a/make/stepmake.make b/make/stepmake.make index 3c3f64a3f5..71dde6f7f8 100644 --- a/make/stepmake.make +++ b/make/stepmake.make @@ -72,7 +72,7 @@ endif ifeq ($(builddir),) outroot=. else - outroot=$(builddir)/$(patsubst $(shell cd $(depth); pwd)%,%,$(pwd)) + outroot=$(builddir)$(patsubst $(shell cd $(depth); pwd)%,%,$(pwd)) endif include $(config_make) -- 2.39.2