compilation of kdebase...

Cristian Tibirna tibirna at kde.org
Sat May 11 16:24:39 BST 2002


On Saturday, 11 May 2002 11:03, Adriaan de Groot wrote:
> On Saturday 11 May 2002 15:59, Cristian Tibirna wrote:
>
> Edit Makefile.am there. Change:
>
> sed -e 's/\\/\\\\/g;s/"/\\"/g;s/^[      ]*/"/;/^"# /d;s/[       ]*$$/\\n
> "/;/^"\\n"$$/d;s/{CHECKSUM}/'$$SUM'/;' $> >> $@; \
>
> to
>
> sed -e 's/\\/\\\\/g;s/"/\\"/g;s/^[      ]*/"/;/^"# /d;s/[       ]*$$/\\n
> "/;/^"\\n"$$/d;s/{CHECKSUM}/'$$SUM'/;' $< >> $@; \
>
> subtle, eh? This appears to be a case where gmake and BSD make really
> clash.

Well, that change _did_ put fish.pl in the at the end of the sed line, but it 
still blocks there. What make says it's doing is:

if which md5sum > /dev/null 2>&1 ; then \
SUM=`md5sum -t  | cut -d ' ' -f 1`; else \
SUM=`md5 -q ` ; fi ; \
echo '#define CHECKSUM "'$SUM'"' > fishcode.h; \
echo 'static const char *fishCode(' >> fishcode.h; \
sed -e 's/\\/\\\\/g;s/"/\\"/g;s/^[      ]*/"/;/^"# /d;s/[      \ 
]*$/\\n"/;/^"\\n"$/d;s/{CHECKSUM}/'$SUM'/;' fish.pl >> fishcode.h; \
echo ');' >> fishcode.h;

Here, it just waits.

(the backslash on the sed line is added by me because of mail-client's 
wrapping)

CT




More information about the kde-core-devel mailing list