Commit graph

9 commits

Author SHA1 Message Date
Dan Nicholson
309c1787a1 Ignore automake's compile wrapper 2017-03-20 10:05:16 -05:00
Dan Nicholson
e68baa7463 Add optional usage of gcov for test coverage
Use gcov to find how much code coverage our current testing gets. This
can be enabled by passing --with-gcov to configure and running "make
gcov". This is limited to gcc. Here's a run from the current code (for
some reason, gcov insists on profiling gstring.h).

/usr/bin/gcov pkg.h pkg.c parse.h parse.c main.c
File 'pkg.c'
Lines executed:73.16% of 611
pkg.c:creating 'pkg.c.gcov'

File '/usr/include/glib-2.0/glib/gstring.h'
Lines executed:100.00% of 6
/usr/include/glib-2.0/glib/gstring.h:creating 'gstring.h.gcov'

File 'parse.c'
Lines executed:79.67% of 492
parse.c:creating 'parse.c.gcov'

File 'main.c'
Lines executed:57.34% of 293
main.c:creating 'main.c.gcov'
2012-09-28 05:45:37 -07:00
Dan Nicholson
51468f2a9b Ignore patch backup files
When reapplying the glib patches we often end up with .orig files when
the hunks have moved. Any backup suffix is possible, but this is the
default from patch(1).
2012-08-17 08:18:40 -07:00
Dan Nicholson
b168e4f843 Ignore generated config.cache files 2012-08-17 08:16:16 -07:00
Dan Nicholson
8bdf2df690 Ignore Windows executables 2012-08-16 09:30:03 -07:00
Tollef Fog Heen
beb55100ea Ignore emacs backup files 2011-05-15 11:06:50 +02:00
Dan Nicholson
f76fe52575 Force generation of libtool script so it can be used reliably
We want to use the libtool script to determine if indirect dependencies
should be listed. LT_OUTPUT forces the script to be created immediately
so that the test can be run reliably.

This is borrowed from glib's configure.in.
2010-06-17 09:17:46 -07:00
Dan Nicholson
376d42b004 Add COPYING files to give general licensing terms
In order to avoid having the COPYING file from automake included in
the distribution, add a copy of the GPLv2 for pkg-config. This matches
the source files, which all specify GPLv2+.

The COPYING file from upstream popt has also been added for the
bundled popt sources.
2010-05-27 21:40:47 +02:00
Dan Nicholson
14e8c68984 Add .gitignore to exclude generated files from tracking
This was basically generated with "git ls-files -o --directory".
2010-05-08 22:23:57 +02:00