Commit graph

78 commits

Author SHA1 Message Date
Carl Worth
fbd29a4025 Fix 'make doc-publish' for when run twice on the same day 2008-02-28 14:36:32 -08:00
Carl Worth
7800cfd7de Add several Makefile.win32 files to EXTRA_DIST
Otherwise, these files were being omitted from the tar files.
2008-02-06 17:01:22 -08:00
Behdad Esfahbod
9ee7a48b33 [Makefile.am] Minor wording change 2008-01-29 00:50:48 -05:00
Behdad Esfahbod
8e3250b856 [Makefile.am] Remove ROADMAP and TODO from dist files 2008-01-29 00:43:10 -05:00
Chris Wilson
3f202c081d [Makefile.am] Another path massage for lcov.
Beware the inline functions in the headers that are now being pulled
into the boilerplate code.
2008-01-16 23:42:24 +00:00
Chris Wilson
9ebfa8b5fb [Makefile.am] Couple check-ref-missing into release-check
Verify that all the reference images checked into git will be included
within the distribution tarball as early as possible in the release
process.
2008-01-16 23:30:15 +00:00
Chris Wilson
bb41fa22e3 [Makefile.am] Further massage lcov paths for srcdir != builddir.
The lcov scripts generate incorrect absolute paths to the builddir for
source files - so convert them to srcdir using sed.
2008-01-16 23:21:53 +00:00
Chris Wilson
407ed0a6e7 [Makefile.am] Add lcov-clean to distclean.
Clean the gcov temporary files when doing a full clean - spotted in a
patch by Patrick Hulin to adapt cairo's lcov targets to glib.
2007-12-03 18:58:21 +00:00
Chris Wilson
9c73259403 [Makefile.am] Wrap lcov make targets within an AM_CONDITIONAL.
Hide 'make lcov' and friends unless the user has actually enabled lcov
supported during configure.
2007-12-02 18:46:23 +00:00
Chris Wilson
0b65c301a7 [Makefile.am] Change lcov-clean to use more portable constructs.
Replace xargs and rm with the binaries found by configure and drop the
passing of NUL-terminated strings as that is a GNU extension.
2007-10-10 14:56:52 +01:00
Chris Wilson
dbbcb5c26f [Makefile] Correct parameters to lcov reset.
lcov uses -z to zero its counters, not --reset.
2007-10-04 21:18:47 +01:00
Chris Wilson
d837a458b9 [configure] Work-around bad interaction of libtool and lcov
libtool causes the .gcda files to be generated in the .libs/ directory,
separate from the .c source file. lcov expects them to be in the same
directory - so massage the lcov.info file to remove the reference to the
.libs/.

Also separate the target for generating the lcov output, so that it can
be run independently from triggering the tests. And improve convenience
of using the other lcov targets.
2007-09-27 17:46:15 +01:00
Søren Sandmann
12cc32b674 [pixman] Initial port to standalone pixman library. 2007-06-21 22:21:11 -07:00
Behdad Esfahbod
515491334c Add util/ to distribution
We already reference an script in util/ in PORTING_GUIDE, but was
not shipping it!
2007-04-21 07:48:10 -04:00
Behdad Esfahbod
d00aa44206 [Makefile.am] Add a "make snapshot" target
that creates a tarball named with version, date, and git hash of
the tree.  Like cairo-1.4.5-20070420-2a0389.tar.gz.
2007-04-20 01:28:56 -04:00
Chris Wilson
d64ef35521 Include cairo-perf in make check
Although cairo-perf is not written to perform explicit failure testing of
cairo, it does generate long sequences of cairo operations which often
trigger unexpected errors. By including it with make check, it becomes
even easier for the programmer to check that one has not broken cairo in
terms of expected behaviour or performance.
2007-04-19 23:12:09 +01:00
Chris Wilson
5c24711ee6 Restore gcov functionality
Add -lgcov to the shared library else the test programs fail to link.
Add a couple of lcov convenience targets to generate the coverage reports.
2007-04-04 10:13:13 +01:00
Behdad Esfahbod
59e5189818 [Makefile.am] Distribute BIBLIOGRAPHY
Also include all automatically distributed CAPITAL files in there,
to remove any doubts.
2007-04-03 20:46:14 -04:00
Behdad Esfahbod
1720d0b950 [Makefile.am] --enable-test-surfaces in distcheck 2007-03-03 15:42:09 -05:00
Behdad Esfahbod
79acd268d9 [Makefile.am] Remove releasing instructions that are in RELEASING already 2007-03-03 15:41:32 -05:00
Behdad Esfahbod
052acc95e9 [RELEASING] Fix git-tag invocation 2007-03-03 15:32:42 -05:00
Behdad Esfahbod
2f497c25f9 [Makefile.am] Check for ChangeLog sanity in release-publish 2007-03-02 23:59:55 -05:00
Behdad Esfahbod
0ff5192e4c [Makefile.am] Include boilerplate/ in SUBDIRS 2007-02-22 15:44:32 -05:00
Behdad Esfahbod
e759959fd6 [Makefile.am] Pass tag message to git-tag in release-publish
(cherry picked from 7cac87c804 commit)
2006-11-02 21:17:12 -05:00
Behdad Esfahbod
91ffb36faa [Makefile.am] Minor fixes in release-publish output
(cherry picked from 953332d128 commit)
2006-11-02 21:17:12 -05:00
Carl Worth
28cc64aa20 Fix dependency of 'make doc' so that necessary header files are built first. 2006-09-29 17:08:53 -07:00
Carl Worth
deef1a6675 Rename docs-publish target to doc-publish in order to be consistent with the doc target. 2006-09-29 16:59:27 -07:00
Behdad Esfahbod
94c361cd2a [Makefile] Add perf to DIST_SUBDIRS 2006-09-06 13:47:37 -04:00
Carl Worth
e153c55dff perf: Add initial skeleton of performance monitoring suite 2006-08-31 07:19:05 -07:00
Carl Worth
d1834cca19 test: Ignore single-bit errors for SVG backend.
The interface of the various buffer/image_diff functions is improved to
provide the maximum pixel difference in addition to the number of pixels
that differ. This value can then be used to compare against a per-backend
tolerance.

Currently I've set the SVG backend's tolerance to 1 to handle some issues
we're currently seeing of single-bit differences on different systems, (but
we're not exactly sure why yet).

Also I improved the image_diff routines to properly report a status value
on failure rather than the bogus value of -1 for pixels_changed.
2006-08-31 04:01:10 -07:00
Carl Worth
54755b2d98 Remove stray ] that was breaking RELEASE_OR_PUBLISH and many make targets (release-publish, etc.) 2006-08-18 18:19:10 -07:00
Carl Worth
76fca1898c EXTRA_DIST: Add several files to the tar file releases, (BUGS, CODING_STYLE, ROADMAP, etc. 2006-08-18 14:30:01 -07:00
Behdad Esfahbod
ab3b400bda [Makefile.am] Move ChangeLog creation voodoo to ChangeLog.mk 2006-08-11 00:43:24 -04:00
Behdad Esfahbod
affc9c71ac [Makefile.am] Add $(AM_MAKEFLAGS) to recursive make invocations 2006-08-11 00:24:47 -04:00
Behdad Esfahbod
c04ccc95fa [ChangeLog] Make ChangeLog creation faster by caching partial results
The ChangeLog.pre-* files once generated, cannot be outdated and don't need
update anymore, but the main ChangeLog needs update everytime a git operation
is performed (commit, checkout, etc.)  Previously, we were forcing a ChangeLog
recreation by making it a phony target.  Now, we break it into two parts:  One
up to the latest tag (as returned by git-describe), and another from there.
The former is, again, up-to-date when it exists.  The latter, we make it
depend on .git.  And since the latter is pretty short anyway, you get a very
first regeneration of it when you change your repo (and that only happens
during 'make dist' by the way.)
2006-08-11 00:11:49 -04:00
Behdad Esfahbod
9b5c5b7570 [ChangeLog] Remove 'fmt' formatting of the ChangeLogs
We assume that people write wrapped commit messages, which is true these days
but was not back in the CVS days.
2006-08-10 20:41:05 -04:00
Behdad Esfahbod
91a5925180 Create multiple ChangeLog files segmented around major releases
For an imaginary cairo-3.6.4 version, we now will generate the following
ChangeLog files:

	ChangeLog
	ChangeLog.pre-3.4
	ChangeLog.pre-3.2
	ChangeLog.pre-3.0
	ChangeLog.pre-2.0
	ChangeLog.pre-1.0
2006-08-10 20:36:16 -04:00
Carl Worth
3f7593612f Make the various test and check targets depend on all as well. 2006-07-13 15:00:16 -07:00
Carl Worth
65d0431b98 Add retest and recheck targets to the top-level Makefile 2006-07-13 10:14:26 -07:00
Behdad Esfahbod
94bdbc15f7 Improve test suite build infrastructure
- Add new target recheck, that checks only failed tests
- Add targets test and retest, and make html after (re)checking
- Make targets html and index.html lazy, only update if any tests changed
- Improve build system such that checking one test (using TESTS=...) doesn't
  build all tests
- Remove pixman-rotate from XFAIL
2006-07-11 17:27:08 -04:00
Behdad Esfahbod
b006bf9d2c Add change stat to ChangeLog. 2006-07-10 11:52:58 -04:00
Carl Worth
3d4a8fd741 Don't remove INSTALL during maintainer-clean 2006-07-01 02:53:26 +02:00
Behdad Esfahbod
92021d169f Make docs not build by "make all", but by "make doc", "make dist", and "make
install".
2006-06-28 04:14:07 +02:00
Behdad Esfahbod
0d073c2e86 Use $RELEASE_OR_SNAPSHOT to determine upload directory.
Turn distcheck on release-check on again, as CAIRO_TEST_TARGET="" can be used
to disable all failures now.
2006-06-28 03:25:08 +02:00
Behdad Esfahbod
289e8b8af3 Remove config.cache in make distclean. 2006-06-26 12:26:15 +02:00
Carl Worth
4a5111695c Update release rules in Makefile to add git signature information. 2006-06-16 09:22:36 -07:00
Behdad Esfahbod
2249fb89ae Move cairo.pc into src/. 2006-06-14 05:05:30 -07:00
Carl Worth
e89de1030e Change release targets as appropriate for a snapshot, not a release.
The big change here is to change the upload directory to be the snapshots directory
rather than the releases directory. We also use make dist rather than make distcheck
since there are currently a few tests still failing.
2006-04-25 08:56:23 -07:00
Behdad Esfahbod
f5013b6dc6 Add a release-publish-message target to only get the message.
(cherry picked from 98facc6c2d commit)
2006-03-15 15:25:03 -05:00
Behdad Esfahbod
f00a183334 Update release infra to reflect git transition.
(cherry picked from 508b0be5f2 commit)
2006-03-15 15:24:35 -05:00