.gitignore: improve
CMakeLists.txt: add dist hook