[MPlayer-dev-eng] Re: Some misc patches to fix compile/install issues in general

Jason Lunz lunz at falooley.org
Thu Aug 15 00:30:58 CEST 2002


arpi at thot.banki.hu said:
>>  	mkdir -p $(LIBDIR)/mplayer/vidix
>> -	install -m 755 -s -p *.so $(LIBDIR)/mplayer/vidix
>> +	install -m 755 -s -p *.so $(LIBDIR)/mplayer/vidix || :
>>  uninstall:
> 
> what the hell is this? i'm not a makefile wizard, but i can't understand
> what is this || : good for.

It means "always succeed". ":" is the null statement in shell.

Equivalent lines would be:
	install -m 755 -s -p *.so $(LIBDIR)/mplayer/vidix || true
or
	-install -m 755 -s -p *.so $(LIBDIR)/mplayer/vidix

The latter is preferred, because make will tell you it failed but ignore
the failure.

Jason





More information about the MPlayer-dev-eng mailing list