Reagents and conditions: (a) POCl3, reflux, 18 h, 97%. (b) Pyridinylmethanol/imidazole/triazole, NaH, DMF, room temperature, 1 h, 70–87%. (c) H2, Pd/C, MeOH, room temperature, 2 h, 60–91%. (d) Substituted benzoic acids, 1-hydroxybenzotriazole, 1-ethyl-3-(3-dimethylaminopropyl) carbodiimide, DMF, 35 °C, 16 h, 60–70%. (e) H2O2, 6 M NaOH, EtOH, 55 °C, 4 h, 80–95%.