[travis] Run subset of "make dist"

We often forget to add some source files to Makefile.am and breaks "make dist".
To reduce such issues, this modification will run subset of "make dist" automatically on Travis CI
("make dist" itself is too strict and hard to pass it completely for us).
In addition, I fixed some inappropriate codes in Makefile.am.