diff --git a/.gitignore b/.gitignore index d73afb0..c690ef4 100644 --- a/.gitignore +++ b/.gitignore @@ -12,9 +12,7 @@ *.autosave # Tests -/test-driver /tests/Makefile -/tests/Makefile.in /tests/test1 /tests/test1Formatted /tests/test2 @@ -49,12 +47,6 @@ /*/Debug /*/Release -# Generated binaries -*.lo -*.o -/libjson-c.la -/libjson.la - # Archives *.zip *.tar.* @@ -74,39 +66,24 @@ *.dmg *.ipa -.deps/ -.libs/ -/aclocal.m4 -/autoconf-archive -/autom4te.cache -/config.guess -/config.h.in +# It's not good practice to build directly in the source tree +# but ignore cmake auto-generated files anyway: /json_config.h -/compile /config.h -/config.log -/config.status -/config.sub -/configure -/depcomp -/doc -/install-sh -/json.pc /json-c.pc -/json-c-uninstalled.pc -/libtool -/ltmain.sh /Makefile -/Makefile.in -/missing -/stamp-h1 -/stamp-h2 - -# cmake auto-generated files -/build /CMakeCache.txt /CMakeFiles -/cmake_install.cmake -/include +/CMakeDoxyfile.in +/*.cmake +/DartConfiguration.tcl +/tests/CMakeFiles/ +/tests/*.cmake +/Testing/ + +# ...and build artifacts. +/doc /libjson-c.a /libjson-c.so +/libjson-c.so.* + diff --git a/json-c-uninstalled.pc.in b/json-c-uninstalled.pc.in deleted file mode 100644 index dab2bab..0000000 --- a/json-c-uninstalled.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix= -exec_prefix= -libdir=@abs_top_builddir@ -includedir=@abs_top_srcdir@ - -Name: json -Description: JSON implementation in C -Version: @VERSION@ -Requires: -Libs: -L@abs_top_builddir@ -ljson-c -Cflags: -I@abs_top_srcdir@