View | Details | Raw Unified | Return to bug 246936 | Differences between
and this patch

Collapse All | Expand All

(-)b/share/mk/doc.docbook.mk (-3 / +2 lines)
Lines 92-98 NO_SUBDIR= YES Link Here
92
# If using git, use git log.  The revision won't work with the generated links,
92
# If using git, use git log.  The revision won't work with the generated links,
93
# because it is a hash, and git log doesn't know about git svn find-rev.
93
# because it is a hash, and git log doesn't know about git svn find-rev.
94
.if exists(${DOC_PREFIX}/.git) && exists(${GIT})
94
.if exists(${DOC_PREFIX}/.git) && exists(${GIT})
95
LATESTREVISION!=cd ${.CURDIR} && ${GIT} log -1 --pretty=format:'\
95
LATESTREVISION!=cd ${.CURDIR} && LC_ALL=C ${GIT} log -1 --pretty=format:'\
96
       --stringparam latestrevision.timestamp "%ci" \
96
       --stringparam latestrevision.timestamp "%ci" \
97
       --stringparam latestrevision.committer "%cn" \
97
       --stringparam latestrevision.committer "%cn" \
98
       --stringparam latestrevision.number "%h"' ${SRCS}
98
       --stringparam latestrevision.number "%h"' ${SRCS}
Lines 102-108 LATESTREVISION!=cd ${.CURDIR} && ${GIT} log -1 --pretty=format:'\ Link Here
102
# the revision date from the timestamp of the most recent file and
102
# the revision date from the timestamp of the most recent file and
103
# set the revision number to "filedate"
103
# set the revision number to "filedate"
104
.if empty(LATESTREVISION)
104
.if empty(LATESTREVISION)
105
LATESTREVISION!=${STAT} 2>/dev/null -t '%F %T %Z' -f '\
105
LATESTREVISION!=cd ${.CURDIR} && ${STAT} 2>/dev/null -t '%F %T %Z' -f '\
106
       --stringparam latestrevision.timestamp "%Sc" \
106
       --stringparam latestrevision.timestamp "%Sc" \
107
       --stringparam latestrevision.committer "%Su" \
107
       --stringparam latestrevision.committer "%Su" \
108
       --stringparam latestrevision.number "filedate"' \
108
       --stringparam latestrevision.number "filedate"' \
Lines 719-722 ${LOCAL_CSS_SHEET}: ${CSS_SHEET} Link Here
719
.endif
719
.endif
720
720
721
HTML.manifest: index.html
721
HTML.manifest: index.html
722

Return to bug 246936