From: Jan Nieuwenhuizen Date: Thu, 2 Oct 1997 13:05:41 +0000 (+0200) Subject: patch::: 0.1.18.jcn1: Re: how bout X-Git-Tag: release/0.1.19~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ba80fa746ba102a14e97cf0a6e30d12078aa37c4;p=lilypond.git patch::: 0.1.18.jcn1: Re: how bout pl 18.jcn1 - check for python, mf-deps fix --- diff --git a/NEWS b/NEWS index 72917102fb..8bb1a62c19 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +pl 18.jcn1 + - check for python, mf-deps fix pl 18 - bf: Box[X_AXIS] = b diff --git a/VERSION b/VERSION index f1fb7e7cf2..48f91a7a72 100644 --- a/VERSION +++ b/VERSION @@ -1,6 +1,6 @@ TOPLEVEL_MAJOR_VERSION = 0 TOPLEVEL_MINOR_VERSION = 1 TOPLEVEL_PATCH_LEVEL = 18 -TOPLEVEL_MY_PATCH_LEVEL = +TOPLEVEL_MY_PATCH_LEVEL = .jcn1 # use the above to send patches, always empty for released version: diff --git a/bin/Makefile b/bin/Makefile index 8f5410eec0..4b3c40476d 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -5,13 +5,15 @@ include $(depth)/make/Include.make # list of distribution files: SCRIPTS = clearlily cpgento make-patch lily.efence \ - make-version release conflily clean-fonts mf-deps.py + make-version release conflily clean-fonts PERL_SCRIPTS_IN = $(wildcard *.in) PERL_SCRIPTS = $(addprefix $(outdir)/, $(PERL_SCRIPTS_IN:.in=)) -EXTRA_DISTFILES = $(SCRIPTS) $(PERL_SCRIPTS_IN) +PYTHON_SCRIPTS_IN = $(wildcard *.py) +PYTHON_SCRIPTS = $(addprefix $(outdir)/, $(PYTHON_SCRIPTS_IN:.py=)) +EXTRA_DISTFILES = $(SCRIPTS) $(PERL_SCRIPTS_IN) $(PYTHON_SCRIPTS_IN) # -all: $(PERL_SCRIPTS) +all: $(PERL_SCRIPTS) $(PYTHON_SCRIPTS) $(outdir)/%: %.in # cd .. && CONFIG_FILES=bin/$(notdir $@) CONFIG_HEADERS= ./config.status @@ -20,8 +22,12 @@ $(outdir)/%: %.in sed 's!@PERL@!$(PERL)!' < $< > $@ chmod 755 $@ +$(outdir)/%: %.py + sed 's!@PYTHON@!$(PYTHON)!' < $< > $@ + chmod 755 $@ EXECUTABLES=convert-mudela mudela-book + localinstall: all $(INSTALL) -d $(bindir) $(INSTALL) -m 755 $(outdir)/convert-mudela $(bindir) diff --git a/bin/mf-deps.py b/bin/mf-deps.py index d0784ab5c5..9035162e8d 100644 --- a/bin/mf-deps.py +++ b/bin/mf-deps.py @@ -50,7 +50,7 @@ class Targetdeps: return self.depfiles.append(filename) -_ lines = file.readlines() + lines = file.readlines() file.close() for line in lines: if input_re.match ( line) <> -1: diff --git a/configure.in b/configure.in index 2e0c385e87..0efe69bab0 100644 --- a/configure.in +++ b/configure.in @@ -134,6 +134,7 @@ AC_SUBST(BISON) AC_SUBST(FLEX) AC_SUBST(LN) AC_SUBST(PERL) +AC_SUBST(PYTHON) AC_SUBST(ZIP) AC_SUBST(TEXPREFIX) AC_SUBST(TEXDIR) @@ -145,6 +146,7 @@ AC_CHECK_PROGS(BISON, bison, error) AC_CHECK_PROGS(FLEX, flex, error) AC_CHECK_PROGS(MAKE, make, error) AC_PATH_PROG(PERL, perl, error) +AC_PATH_PROG(PYTHON, python, error) AC_CHECK_PROGS(PODMAN, pod2man, error) @@ -171,6 +173,7 @@ AC_JUNK_ARGS( [if test "x$MFDIR" = xauto; then AC_CHECK_SEARCH_RESULT($MAKE, GNU make, You should install GNU make) AC_CHECK_SEARCH_RESULT( $BISON, bison, Please install Bison, 1.25 or better) AC_CHECK_SEARCH_RESULT($PERL, perl, You should install Perl, version 5 or better) +AC_CHECK_SEARCH_RESULT($PYTHON, python, You should install Python) AC_CHECK_SEARCH_RESULT($PODMAN, pod, You should install Perl, version 5 or better) AC_CHECK_SEARCH_RESULT( $FLEX, flex, Please install Flex, 2.5 or better) diff --git a/init/font-en-tja16.ly b/init/font-en-tja16.ly index bed24e7c2d..1c2d0e3750 100644 --- a/init/font-en-tja16.ly +++ b/init/font-en-tja16.ly @@ -1,4 +1,4 @@ -% generated at Mon Sep 29 11:32:20 1997 from out/font-en-tja16.log +% generated at Thu Oct 2 14:54:38 1997 from out/font-en-tja16.log % changes will be lost % font-en-tja=\symboltables { diff --git a/init/font-en-tja20.ly b/init/font-en-tja20.ly index 69b2154982..c64c12f128 100644 --- a/init/font-en-tja20.ly +++ b/init/font-en-tja20.ly @@ -1,4 +1,4 @@ -% generated at Mon Sep 29 11:32:24 1997 from out/font-en-tja20.log +% generated at Thu Oct 2 14:54:38 1997 from out/font-en-tja20.log % changes will be lost % font-en-tja=\symboltables { diff --git a/make/Configure_variables.make.in b/make/Configure_variables.make.in index 491fd2afa8..ad778bc0c6 100644 --- a/make/Configure_variables.make.in +++ b/make/Configure_variables.make.in @@ -31,7 +31,8 @@ BISON = @BISON@ FLEX = @FLEX@ LN = @LN@ ZIP = @ZIP@ -PERL =@PERL@ +PERL = @PERL@ +PYTHON = @PYTHON@ OUTDIR_NAME = @OUTDIR_NAME@ diff --git a/mf/Makefile b/mf/Makefile index 26bc3f01df..9168cce4ea 100644 --- a/mf/Makefile +++ b/mf/Makefile @@ -27,7 +27,7 @@ TEXTABLES = $(addprefix $(texout)/, $(FET_FILES:.mf=.tex)) all: $(LYTABLES) $(TEXTABLES) localclean: - rm -f $(LYTABLES) $(TEXTABLES) + rm -f $(LYTABLES) $(TEXTABLES) $(outdir)/mfdeps $(outdir)/%.dvi: %.mf mf $< @@ -51,16 +51,16 @@ localuninstall: for i in $(MFFILES) ; do rm -f $(MFDIR)/lilypond/$$i; done -rmdir $(MFDIR)/lilypond/ +$(outdir)/mfdeps: $(FONT_FILES) +# do something silly to avoid barfs if python not installed. + echo > $@ + mf-deps $^ >> $@ + # dependencies: # include $(outdir)/mfdeps +# -$(outdir)/mfdeps: $(FONT_FILES) -# do something silly to avoid barfs if python not installed. - echo > $@ - python $(depth)/bin/mf-deps.py $^ >> $@ - - diff --git a/tex/font-en-tja16.tex b/tex/font-en-tja16.tex index f48b24729e..db857326d4 100644 --- a/tex/font-en-tja16.tex +++ b/tex/font-en-tja16.tex @@ -1,4 +1,4 @@ -% generated at Mon Sep 29 11:32:20 1997 from out/font-en-tja16.log +% generated at Thu Oct 2 14:54:38 1997 from out/font-en-tja16.log % changes will be lost % font-en-tja diff --git a/tex/font-en-tja20.tex b/tex/font-en-tja20.tex index bee8faec97..38ca093ac8 100644 --- a/tex/font-en-tja20.tex +++ b/tex/font-en-tja20.tex @@ -1,4 +1,4 @@ -% generated at Mon Sep 29 11:32:24 1997 from out/font-en-tja20.log +% generated at Thu Oct 2 14:54:38 1997 from out/font-en-tja20.log % changes will be lost % font-en-tja