diff options
-rw-r--r-- | Makefile.in | 4 | ||||
-rw-r--r-- | man/oh-strip.1 | 39 |
2 files changed, 43 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 0fa8b2f..4e99130 100644 --- a/Makefile.in +++ b/Makefile.in @@ -44,6 +44,8 @@ install: all @$(INSTALL) -D "$(SRCDIR)/src/oh-buildopk" "$(DESTDIR)/$(BINDIR)/oh-buildopk" @printf ' INSTALL man/opkbuild.1\n' @$(INSTALL) -D "$(SRCDIR)/man/opkbuild.1" "$(DESTDIR)/$(MANDIR)/man1/opkbuild.1" + @printf ' INSTALL man/oh-strip.1\n' + @$(INSTALL) -D "$(SRCDIR)/man/oh-strip.1" "$(DESTDIR)/$(MANDIR)/man1/oh-strip.1" .PHONY: uninstall uninstall: @@ -57,3 +59,5 @@ uninstall: @rm "$(DESTDIR)/$(BINDIR)/oh-buildopk" @printf ' RM opkbuild.1\n' @rm "$(DESTDIR)/$(MANDIR)/man1/opkbuild.1" + @printf ' RM oh-strip.1\n' + @rm "$(DESTDIR)/$(MANDIR)/man1/oh-strip.1" diff --git a/man/oh-strip.1 b/man/oh-strip.1 new file mode 100644 index 0000000..a3e01ef --- /dev/null +++ b/man/oh-strip.1 @@ -0,0 +1,39 @@ +.\" Author: Patrick "P. J." McDermott +.TH oh-strip 1 "2012-01-20" "opkhelper-0.1.0" "opkg Build Helper Tools" +.SH NAME +oh-strip \- Strip binary objects of symbols. +.SH SYNOPSIS +.B oh-strip +.RB [ -g ] +.RB [ -l ] +.IR binaryfile ... +.SH DESCRIPTION +.B oh-strip +strips binary object files of symbols, optionally first copying debugging +symbols into a debugging object file. +.SH OPTIONS +.TP +.B \-g +Copy debugging symbols into a debugging object file and add a link from +.I binaryfile +to the debugging object file. +.TP +.B \-l +Treat +.I binaryfile +as a library. +.SH COPYRIGHT +Copyright (C) 2012 Patrick "P. J." McDermott +.sp +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. +.sp +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. +.sp +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. |