diff --git a/smartmontools/CHANGELOG b/smartmontools/CHANGELOG
index 11a78ee5cb144c77aa16ca4cf9da3af58898e4ed..bcbb1d5cea9a930716afac055464f6c2f80a204b 100644
--- a/smartmontools/CHANGELOG
+++ b/smartmontools/CHANGELOG
@@ -43,6 +43,8 @@ NOTES FOR FUTURE RELEASES: see TODO file.
 
 <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
 
+smartmontools 5.40 2010-10-16
+
   [CF] examplescripts/Example3: Use stdin to pass message to 'wall'
        command (ticket #114).
 
diff --git a/smartmontools/NEWS b/smartmontools/NEWS
index 6eb20a1c25a4061eb6cb27b0f31c22643605ca12..5e25d87e33b1975c6eba8ce0d380da046af3b54c 100644
--- a/smartmontools/NEWS
+++ b/smartmontools/NEWS
@@ -5,7 +5,7 @@ $Id$
 The most up-to-date version of this file is:
 http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/NEWS?view=markup
 
-Date <Not released yet, please try current SVN>
+Date 2010-10-16
 Summary: smartmontools release 5.40
 -----------------------------------------------------------
 - Other config entries may precede smartd DEVICESCAN.
diff --git a/smartmontools/configure.in b/smartmontools/configure.in
index 87d643b71ff9ffd3caa73d9c67fe2b4fe3101f7e..c3254ac15cc0d598a1c082dc4528b5d74dadae85 100644
--- a/smartmontools/configure.in
+++ b/smartmontools/configure.in
@@ -8,8 +8,8 @@ AC_CONFIG_SRCDIR(smartctl.cpp)
 
 smartmontools_configure_date=`date -u +'%Y-%m-%d %T %Z'`
 smartmontools_cvs_tag=`echo '$Id$'`
-smartmontools_release_date=2009-12-09
-smartmontools_release_time="21:00:32 UTC"
+smartmontools_release_date=2010-10-16
+smartmontools_release_time="16:34:38 UTC"
 
 AC_DEFINE_UNQUOTED(SMARTMONTOOLS_CONFIGURE_ARGS, "$ac_configure_args",            [smartmontools Configure Arguments])
 AC_DEFINE_UNQUOTED(SMARTMONTOOLS_CONFIGURE_DATE, "$smartmontools_configure_date", [smartmontools Configure Date])