Date: Tue, 11 Sep 2018 20:32:58 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r338599 - head/usr.bin/objcopy Message-ID: <201809112032.w8BKWwbf057612@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Tue Sep 11 20:32:57 2018 New Revision: 338599 URL: https://svnweb.freebsd.org/changeset/base/338599 Log: 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) Modified: head/usr.bin/objcopy/Makefile Modified: head/usr.bin/objcopy/Makefile ============================================================================== --- head/usr.bin/objcopy/Makefile Tue Sep 11 19:19:07 2018 (r338598) +++ head/usr.bin/objcopy/Makefile Tue Sep 11 20:32:57 2018 (r338599) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809112032.w8BKWwbf057612>