[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make web: /bin/rm: Argument list too long
From: |
Karl Hammar |
Subject: |
make web: /bin/rm: Argument list too long |
Date: |
Wed, 27 Oct 2004 12:15:09 +0200 |
Got:
$ make web
make --no-builtin-rules out=www WWW
make[1]: Entering directory `/home/karl/lilypond'
make PACKAGE=LILYPOND package=lilypond -C buildscripts WWW && make
PACKAGE=LILYPOND package=lilypond -C python WWW && make PACKAGE=LILYPOND
package=lilypo
...
[212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223] [224]
[225] [226] [227] [228] [229] [230] [231] [232] [233]
gzip -c9 out-www/lilypond.ps > out-www/lilypond.ps.gz
mkdir -p out-www/lilypond/
LANG= makeinfo --enable-encoding -I./out-www --output=./out-www/lilypond
--css-include=/home/karl/lilypond/Documentation/texinfo.css --html
out-www/lilypond.texi
LANG= makeinfo --enable-encoding -I./out-www
--output=out-www/lilypond/lilypond.html
--css-include=/home/karl/lilypond/Documentation/texinfo.css --html --no-split
--no-headers out-www/lilypond.texi
perl -i~ -pe 's!../lilypond-internals!lilypond-internals/!g'
./out-www/lilypond.html
rm -f ./out-www/lilypond/*.png ./out-www/lilypond/*.ly
/bin/sh: /bin/rm: Argument list too long
make[3]: *** [out-www/lilypond/lilypond.html] Error 126
make[3]: Leaving directory `/home/karl/lilypond/Documentation/user'
make[2]: *** [WWW] Error 2
make[2]: Leaving directory `/home/karl/lilypond/Documentation'
make[1]: *** [WWW] Error 2
make[1]: Leaving directory `/home/karl/lilypond'
make: *** [web] Error 2
Suggests this patch:
$ cat patch
diff -Naur lilypond-a/Documentation/user/GNUmakefile
lilypond-fix/Documentation/user/GNUmakefile
--- lilypond-a/Documentation/user/GNUmakefile Wed Oct 6 11:42:50 2004
+++ lilypond-fix/Documentation/user/GNUmakefile Wed Oct 27 12:08:31 2004
@@ -99,7 +99,7 @@
$(MAKEINFO) -I$(outdir) --output=$(outdir)/lilypond
--css-include=$(abs-srcdir)/Documentation/texinfo.css --html $<
$(MAKEINFO) -I$(outdir) --output=$@
--css-include=$(abs-srcdir)/Documentation/texinfo.css --html --no-split
--no-headers $<
perl -i~ -pe 's!../lilypond-internals!lilypond-internals/!g'
$(outdir)/lilypond.html
- rm -f $(outdir)/lilypond/*.png $(outdir)/lilypond/*.ly
+ find $(outdir)/lilypond/ -name \*.png -o -name \*.ly | xargs rm -f
# symbolic links to save space
(cd $(outdir)/lilypond/ ; ln -sf ../*.png ../*.ly . )
$
Regards
/Karl
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- make web: /bin/rm: Argument list too long,
Karl Hammar <=