diff options
-rw-r--r-- | man/Makefile.in | 2 | ||||
-rw-r--r-- | man/oh-strip.1.in | 27 |
2 files changed, 15 insertions, 14 deletions
diff --git a/man/Makefile.in b/man/Makefile.in index 3b50a28..c58ae85 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -35,7 +35,7 @@ sed_script = s&@@PACKAGE_NAME@@&$(package_name)&;\ .SUFFIXES: .SUFFIXES: .in -SRCS = oh-installfiles.1.in +SRCS = oh-installfiles.1.in oh-strip.1.in OBJS = $(SRCS:.in=) distdir = ../$(package_name)-$(package_version)/man diff --git a/man/oh-strip.1.in b/man/oh-strip.1.in index aa6abc9..cd0687e 100644 --- a/man/oh-strip.1.in +++ b/man/oh-strip.1.in @@ -1,32 +1,33 @@ .\" Author: Patrick "P. J." McDermott .TH oh-strip 1 \ -"2012-03-21" "@@PACKAGE@@-@@VERSION@@" "opkg Build Helper Tools" +"@@DATE@@" "@@PACKAGE_NAME@@-@@PACKAGE_VERSION@@" "@@PACKAGE_DESCRIPTION@@" .SH NAME oh-strip \- Strip binary objects of symbols. .SH SYNOPSIS .B oh-strip -.RB [ -g ] -.RB [ -l ] -.IR binaryfile ... +.RB [ -d +.IR dir ] +.RB [ -k ] .SH DESCRIPTION .B oh-strip strips binary object files of symbols, optionally first copying debugging -symbols into a debugging object file. +symbols into debugging object files. .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. +.BI \-d \ dir +Look for data files in +.IR dir . +The default directory is +.IR dest . .TP -.B \-l -Treat -.I binaryfile -as a library. +.B \-k +Copy debugging symbols into debugging object files under +.I /usr/lib/debug/ +and add a link from each binary file to its debugging object file. .SH COPYRIGHT Copyright (C) 2012 Patrick "P. J." McDermott |