mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 15:12:44 +00:00
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)
This commit is contained in:
parent
08d0704d74
commit
5a9066b4de
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338599
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user