Fix makefile doc build problem
[#1] Fix some case