In case we have build directory differs from source directory there will be
bunch of files we should ignore, so just remove leading "/" for some or rules.
And fix others.
/stamp-h1
/stamp-h2
-/include/event2/event-config.h
-/evconfig-private.h
-
/sample/dns-example
/sample/event-read-fifo
/sample/hello-world
/test/test-changelist
/test/test-fdleak
+**/include/event2/event-config.h
+**/include/evconfig-private.h
# Files generated by cmake
-/CMakeCache.txt
-/CMakeFiles/
-/CTestTestfile.cmake
-/DartConfiguration.tcl
-/LibeventConfig.cmake
-/LibeventConfigVersion.cmake
-/LibeventTargets.cmake
-/bin/
-/cmake_install.cmake
-/include/evconfig-private.h
-/lib/
-/tmp/
-/verify_tests.sh
-/verify_tests.bat
-/event.dir
-/event_core.dir
-/event_extra.dir
+CMakeCache.txt
+CMakeFiles/
+CTestTestfile.cmake
+DartConfiguration.tcl
+LibeventConfig.cmake
+LibeventConfigVersion.cmake
+LibeventTargets.cmake
+bin/
+cmake_install.cmake
+lib/
+tmp/
+verify_tests.sh
+verify_tests.bat
+event.dir
+event_core.dir
+event_extra.dir
*.vcxproj
*.sln
*.filters
+# ninja
+build.ninja
+rules.ninja
+.ninja_deps
+.ninja_log
+
# make dist
/COPYING
/INSTALL