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
This commit is contained in:
parent
5158636912
commit
42398b4fce
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=38891
1 changed files with 1 additions and 1 deletions
|
@ -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/<!ENTITY date[ \t]*"$$Free[B]SD. .* \(.* .*\) .* .* $$">/<!ENTITY date "Last modified: \1">/'
|
||||
DATESUBST?= 's/<!ENTITY date[ \t]*"$$Free[B]SD. \(.*\) \(.*\) \(.* .*\) .* $$">/<!ENTITY date "Last modified: \3 \(\1 r\2\)">/'
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue