Commit eae3a9cf authored by Havoc Pennington's avatar Havoc Pennington

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.
parent 1b9a4589
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.
......@@ -18,6 +18,7 @@ DISTCLEANFILES = \
$(GLIB_PC)
EXTRA_DIST = \
HACKING \
dbus-1.0.pc.in \
dbus-glib-1.0.pc.in
......
......@@ -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
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment