From owner-svn-doc-head@FreeBSD.ORG Sat May 26 00:08:01 2012 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47335106566B; Sat, 26 May 2012 00:08:01 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 31DFE8FC12; Sat, 26 May 2012 00:08:01 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4Q081r5041036; Sat, 26 May 2012 00:08:01 GMT (envelope-from gavin@svn.freebsd.org) Received: (from gavin@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4Q081cA041034; Sat, 26 May 2012 00:08:01 GMT (envelope-from gavin@svn.freebsd.org) Message-Id: <201205260008.q4Q081cA041034@svn.freebsd.org> From: Gavin Atkinson Date: Sat, 26 May 2012 00:08:00 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r38891 - head/share/mk X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2012 00:08:01 -0000 Author: gavin Date: Sat May 26 00:08:00 2012 New Revision: 38891 URL: http://svn.freebsd.org/changeset/doc/38891 Log: In the old CVS world, web pages would end up with the modified date and time on the bottom of each page: Last modified: 2010/05/09 21:07:40 Since the move to Subversion, the $FreeBSD$ string is slightly different and so the code that does this no longer works correctly, causing the output appears as: Last modified: 38826 2012-05-17 Arguably, having the SVN revision number in the output is useful, however this wasn't intentional - and instead appears to be an oversight. This change both fixes the missing date and adds extra information, producing the following output: Last modified: 2012-05-17 19:12:14Z (head/en_US.ISO8859-1/htdocs/internet.sgml r38826) Adding the path to the source file will hopefully make it much easier for people wishing to contribute to the page to find the source Approved by: bcr (mentor) M mk/web.site.mk Modified: head/share/mk/web.site.mk Modified: head/share/mk/web.site.mk ============================================================================== --- head/share/mk/web.site.mk Fri May 25 23:22:07 2012 (r38890) +++ head/share/mk/web.site.mk Sat May 26 00:08:00 2012 (r38891) @@ -178,7 +178,7 @@ LOCALTOP!= ${ECHO_CMD} ${CANONPREFIX} | DIR_IN_LOCAL!= ${ECHO_CMD} ${CANONPREFIX} | ${PERL} -pe 's@^[^/]+/?@@;' PREHTMLOPTS?= -revcheck "${LOCALTOP}" "${DIR_IN_LOCAL}" ${PREHTMLFLAGS} .else -DATESUBST?= 's///' +DATESUBST?= 's///' # Force override base to point to http://www.FreeBSD.org/. Note: This # is used for http://security.FreeBSD.org/ . .if WITH_WWW_FREEBSD_ORG_BASE