diff options
author | Havoc Pennington <hp@redhat.com> | 2003-01-15 16:34:52 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-01-15 16:34:52 +0000 |
commit | eae3a9cf885eddf16ecd604cc06fc33b1af4cd45 (patch) | |
tree | 8e5a887bedb4e1c8e0805aefb743a79bcef3f1c0 | |
parent | 1b9a4589f6836641ded324b7b5d003c5cbfb0b78 (diff) |
2003-01-15 Havoc Pennington <hp@redhat.com>
* dbus/dbus-test.c (dbus_internal_symbol_do_not_use_run_tests):
fix build when --disable-tests
* Makefile.am (EXTRA_DIST): put HACKING in here
* HACKING: document procedure for making a tarball release.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | HACKING | 33 | ||||
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | dbus/dbus-test.c | 4 |
4 files changed, 47 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2003-01-15 Havoc Pennington <hp@redhat.com> + + * dbus/dbus-test.c (dbus_internal_symbol_do_not_use_run_tests): + fix build when --disable-tests + + * Makefile.am (EXTRA_DIST): put HACKING in here + + * HACKING: document procedure for making a tarball release. + 2003-01-14 Anders Carlsson <andersca@codefactory.se> * bus/connection.c: (connection_error_handler), @@ -59,4 +59,37 @@ Coding Style data). Avoiding heuristics is also important for security reasons; if it looks funny, ignore it (or exit, or disconnect). +Making a release +=== + +To make a release of D-BUS, do the following: + + - check out a fresh copy from CVS + + - increment the version number in configure.in + + - verify that the libtool versioning/library soname is + changed if it needs to be, or not changed if not + + - update the file NEWS based on the ChangeLog + + - "make distcheck" (DO NOT just "make dist" - pass the check!) + + - if make distcheck fails, fix it. + + - once distcheck succeeds, "cvs commit" + + - if someone else made changes and the commit fails, + you have to "cvs up" and run "make distcheck" again + + - once the commit succeeds, "cvs tag DBUS_X_Y_Z" where + X_Y_Z map to version X.Y.Z + + - check out the "web" module, copy the tarball to + web/content/software/dbus/releases, "cvs add -kb dbus-x.y.z.tar.gz" + + - update web/content/software/dbus/main.in with a pointer to the + tarball + + - post to message-bus-list@freedesktop.org announcing the release. diff --git a/Makefile.am b/Makefile.am index a197cf39..c5b3c1af 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,6 +18,7 @@ DISTCLEANFILES = \ $(GLIB_PC) EXTRA_DIST = \ + HACKING \ dbus-1.0.pc.in \ dbus-glib-1.0.pc.in diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c index a219069f..64910ef3 100644 --- a/dbus/dbus-test.c +++ b/dbus/dbus-test.c @@ -42,6 +42,7 @@ die (const char *failure) void dbus_internal_symbol_do_not_use_run_tests (void) { +#ifdef DBUS_BUILD_TESTS printf ("%s: running string tests\n", "dbus-test"); if (!_dbus_string_test ()) die ("strings"); @@ -67,6 +68,9 @@ dbus_internal_symbol_do_not_use_run_tests (void) die ("hash tables"); printf ("%s: completed successfully\n", "dbus-test"); +#else + printf ("Not compiled with unit tests, not running any\n"); +#endif } |