Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143323424
D7997.id26333.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
927 B
Referenced Files
None
Subscribers
None
D7997.id26333.diff
View Options
Index: tools/build/options/makeman
===================================================================
--- tools/build/options/makeman
+++ tools/build/options/makeman
@@ -1,12 +1,12 @@
#!/bin/sh
#
# This file is in the public domain.
+#
+# $FreeBSD$
set -o errexit
export LC_ALL=C
-ident='$FreeBSD$'
-
t=$(mktemp -d -t makeman)
trap 'test -d $t && rm -rf $t' exit
@@ -126,12 +126,9 @@
{
echo "building src.conf.5 man page from files in ${PWD}" >&2
- ident=${ident#$}
- ident=${ident% $}
fbsdid='$'FreeBSD'$'
cat <<EOF
.\" DO NOT EDIT-- this file is automatically generated.
-.\" from ${ident}
.\" ${fbsdid}
.Dd $(echo $(LC_TIME=C date +'%B %e, %Y'))
.Dt SRC.CONF 5
@@ -244,7 +241,7 @@
fi
echo ".It Va ${opt}"
- sed -e's/\$\(FreeBSD: .*\) \$/from \1/' ${opt}
+ sed -E -e'/\$FreeBSD(: .* \$|\$)/d' ${opt}
if [ -n "${targets}" ] ; then
echo '.Pp'
echo 'This is a default setting on'
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 29, 9:46 PM (13 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28090270
Default Alt Text
D7997.id26333.diff (927 B)
Attached To
Mode
D7997: makeman: don't copy $FreeBSD$ tags from source files into output
Attached
Detach File
Event Timeline
Log In to Comment