Structure-based optimization of a series of selective BET inhibitors containing aniline or indoline groups.