|
From: Heiko Z. <smi...@us...> - 2004-06-26 02:47:24
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19970/scripts Modified Files: gpm Log Message: Hi, I've done some testing with gpm and it looks like 1.20.1 has two flaws: - it's not parallel build safe, a 'mv' statement is executed twice which can result in a race condition - doc/Makefile.in is broken in case 'makeinfo' is missing, which breaks building of the doc/ subdirectory The patch corrects both (until the author of gpm fixes them) Roland Index: gpm =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/gpm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- gpm 26 Apr 2004 19:23:08 -0000 1.2 +++ gpm 26 Jun 2004 02:47:02 -0000 1.3 @@ -28,8 +28,10 @@ case $1 in build ) if [ "$CONFIG_GPM" = "y" ]; then + # correct doc/Makefile.in in case makeinfo is missing, bug in gpm-1.20.1 + sed -i s/.'"$(MAKEINFO)" != "no"'/' "$(MAKEINFO)" != "no --no-split"'/doc/Makefile.in ./configure --prefix=/usr --sysconfdir=/etc || exit 1 - make $PMAKE all || exit 1 + make all || exit 1 strip_debug fi ;; |