]> git.donarmstrong.com Git - lilypond.git/commitdiff
* cygwin/mknetrel: Exit if doc build fails.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 27 Feb 2003 09:53:43 +0000 (09:53 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 27 Feb 2003 09:53:43 +0000 (09:53 +0000)
* lily/GNUmakefile: Add hack for .deps and --srcdir build.

ChangeLog
cygwin/mknetrel
lily/GNUmakefile

index cd7890d0afde8ca0c1b28b650377d8f1f2a6a97b..8d8e8d581ce5d7cb65719fc9824b4174aede4471 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-26  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * cygwin/mknetrel: Exit if doc build fails.
+
+       * lily/GNUmakefile: Add hack for .deps and --srcdir build.
+
 2003-02-27  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
        * scm/music-types.scm (music-descriptions): add doc strings
index b2f32622b260b59a43ee53d74c3c60a2a2c5a54d..fbac630e42b0288efde9f84180a2ca1bfd75201b 100644 (file)
@@ -10,7 +10,7 @@
 # To use this, do something like:
 cat >/dev/null <<EOC
 
-   wget -P/var/tmp ftp://lilypond.org/pub/LilyPond/v1.6/lilypond-1.6.3.tar.gz
+   wget -P/var/tmp ftp://lilypond.org/pub/LilyPond/v1.7/lilypond-1.7.13.tar.gz
    rm -rf /home/netrel/src/lilypond-*
    mkdir -p /home/netrel/src && cd /home/netrel/src
    ## TODO: look at pimport
@@ -29,7 +29,8 @@ patch=$mknetrel_root/patch
 if iscygwin; then
     true
 else    
-    uploads=$here/uploads/$base && mkdir -p $uploads
+    ##uploads=$here/uploads/$base && mkdir -p $uploads
+    uploads=$here/uploads-development/$base && mkdir -p $uploads
     tarstem=$uploads/$package
 fi
 
@@ -295,7 +296,9 @@ prebuild () {
     cd $src && ln -s GNUmakefile.in GNUmakefile
 
     cd $build || exit 1
-    PATH=/bin:/usr/bin:$PATH make conf=for-build all doc html-doc
+    # Ugh.  Fixed in 1.6.8CVS and 1.7.13CVS.
+    # PATH=/bin:/usr/bin:$PATH make DO_O_DEP="echo NO DEPS;" conf=for-build all doc html-doc || exit 1
+    PATH=/bin:/usr/bin:$PATH make conf=for-build all doc html-doc || exit 1
     for i in $(find . -path "out-for-build/*.1"); do
        cp -pv $i $(dirname $(dirname $i))/$(basename $i)
     done
index 79a516e0b247b2588e34ec22d15bfe05b5ba7daf..e1be486358a30798bd72dcaf55e212f9b1b435b9 100644 (file)
@@ -21,7 +21,7 @@ include $(depth)/make/stepmake.make
 
 ETAGS_FLAGS += -r '/^LY_DEFINE *(\([^,]+\),/\1/'  -r '/^LY_DEFINE *([^,]+, *"\([^"]+\)"/\1/' 
 
-default: 
+default:
 
 # force these: Make can't know these have to be generated in advance
 $(outdir)/my-lily-parser.o: $(outdir)/parser.hh
@@ -31,3 +31,9 @@ $(outdir)/lexer.o: $(outdir)/parser.hh $(outdir)/version.hh
 $(outdir)/kpath.o: $(outdir)/version.hh
 $(outdir)/lily-guile.o: $(outdir)/version.hh
 $(outdir)/lily-version.o: $(outdir)/version.hh
+
+# ugh.  For --srcdir builds, these must exist to satisfy their broken
+# lexer.dep and parser.dep file entries.
+ifneq ($(srcdir), .)
+.PRECIOUS: $(outdir)/lexer.cc $(outdir)/parser.cc
+endif