A quadratic Lyapunov function for Saint-Venant equations with arbitrary friction and space-varying slope. (February 2019)