He also got paid for producing the film. as did his wife. It was a vanity project through and through. The only reason it wasn't an actual "indie" is because RDJ has/had the clout (and name recognition) to get actual studio support behind his vanity projects. That must be nice.