aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-09-11 20:32:57 +0000
committerEd Maste <emaste@FreeBSD.org>2018-09-11 20:32:57 +0000
commit5a9066b4de550334cb265453f54e42d0ec1a4ad7 (patch)
tree603b21307dd74e5ab383f104047a15087b1d59e2 /usr.bin
parent08d0704d749d79c0184eace471c266d812349202 (diff)
downloadsrc-5a9066b4de550334cb265453f54e42d0ec1a4ad7.tar.gz
src-5a9066b4de550334cb265453f54e42d0ec1a4ad7.zip
remove doubled name in objcopy manpage
We generate the installed objcopy man page from ELF Tool Chain's elfcopy, but the sed expresion used for this ended up producing "objcopy, objcopy - copy and translate object files". Instead of replacing the first "elfcopy" with objcopy, just remove it. Approved by: re (gjb)
Notes
Notes: svn path=/head/; revision=338599
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/objcopy/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/objcopy/Makefile b/usr.bin/objcopy/Makefile
index 5fc78a0186d9..87472a4cd848 100644
--- a/usr.bin/objcopy/Makefile
+++ b/usr.bin/objcopy/Makefile
@@ -10,7 +10,7 @@ ELFCOPYDIR= ${ELFTCDIR}/elfcopy
PROG= objcopy
objcopy.1: elfcopy.1
sed -e 's/\.Dt ELFCOPY 1/.Dt OBJCOPY 1/' \
- -e 's/\.Nm elfcopy/.Nm objcopy/' < ${.ALLSRC} > ${.TARGET}
+ -e '/\.Nm elfcopy ,/d' < ${.ALLSRC} > ${.TARGET}
CLEANFILES+= objcopy.1
SRCS= archive.c ascii.c binary.c main.c pe.c sections.c segments.c symbols.c