add smalldoc target for libpolys