From: fred Date: Sun, 24 Mar 2002 19:49:46 +0000 (+0000) Subject: lilypond-0.0.78 X-Git-Tag: release/1.5.59~4354 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1c69882f6edc6fa3db4af323b093b24c9a7dd625;p=lilypond.git lilypond-0.0.78 --- diff --git a/bin/Makefile b/bin/Makefile index 8a6b6654fe..5f98246cec 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -1,24 +1,31 @@ # bin/Makefile -# subdir level: -# depth = .. include $(depth)/make/Include.make -# list of distribution files: -SCRIPTS = clearlily cpgento genheader make_patch \ - lily.efence\ - make-version make-website release convert-mudela show-latest \ - mudela-book conflily -EXTRA_DISTFILES = $(SCRIPTS) +# list of distribution files: +SCRIPTS = clearlily cpgento make_patch lily.efence \ + make-version release conflily +PERL_SCRIPTS_IN = $(wildcard *.in) +PERL_SCRIPTS = $(addprefix $(outdir)/, $(PERL_SCRIPTS_IN:.in=)) +EXTRA_DISTFILES = $(SCRIPTS) $(PERL_SCRIPTS_IN) # +all: $(PERL_SCRIPTS) + +$(outdir)/%: %.in +# cd .. && CONFIG_FILES=bin/$(notdir $@) CONFIG_HEADERS= ./config.status +# mv $(< :.in=) $@ +# this nukes make/out/Configure_variables.make. + sed 's!@PERL@!$(PERL)!' < $< > $@ + chmod 755 $@ + EXECUTABLES=convert-mudela mudela-book localinstall: all $(INSTALL) -d $(bindir) - $(INSTALL) -m 755 convert-mudela $(bindir) - $(INSTALL) -m 755 mudela-book $(bindir) + $(INSTALL) -m 755 $(outdir)/convert-mudela $(bindir) + $(INSTALL) -m 755 $(outdir)/mudela-book $(bindir) localuninstall: rm -f $(bindir)/convert-mudela $(bindir)/mudela-book