summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-01-15 16:34:52 +0000
committerHavoc Pennington <hp@redhat.com>2003-01-15 16:34:52 +0000
commiteae3a9cf885eddf16ecd604cc06fc33b1af4cd45 (patch)
tree8e5a887bedb4e1c8e0805aefb743a79bcef3f1c0
parent1b9a4589f6836641ded324b7b5d003c5cbfb0b78 (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--ChangeLog9
-rw-r--r--HACKING33
-rw-r--r--Makefile.am1
-rw-r--r--dbus/dbus-test.c4
4 files changed, 47 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a759cf5..2f8f7662 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),
diff --git a/HACKING b/HACKING
index 8d0b1756..ed76b3af 100644
--- a/HACKING
+++ b/HACKING
@@ -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
}