summaryrefslogtreecommitdiffstats
path: root/man/oh-installfiles.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'man/oh-installfiles.1.in')
-rw-r--r--man/oh-installfiles.1.in36
1 files changed, 29 insertions, 7 deletions
diff --git a/man/oh-installfiles.1.in b/man/oh-installfiles.1.in
index 39139f3..b86f57d 100644
--- a/man/oh-installfiles.1.in
+++ b/man/oh-installfiles.1.in
@@ -1,20 +1,42 @@
.\" Author: Patrick "P. J." McDermott
.TH oh-installfiles 1 \
-"2012-03-21" "@@PACKAGE@@-@@VERSION@@" "opkg Build Helper Tools"
+"@@DATE@@" "@@PACKAGE_NAME@@-@@PACKAGE_VERSION@@" "@@PACKAGE_DESCRIPTION@@"
.SH NAME
-oh-installfiles \- Install files into a binary package staging area.
+oh-installfiles \- Install files into binary package data directories.
.SH SYNOPSIS
.B oh-installfiles
-.IR pkgname ...
+.RB [ -d
+.IR dir ]
.SH DESCRIPTION
.B oh-installfiles
-moves files from the source package installation directory to a binary package
-staging area, based on the patterns in the binary package's
-.I install
-file.
+is a utility that installs files into binary package data directories. For each
+binary package,
+.B oh-installfiles
+moves files that match patterns in a file called
+.I files
+from the installation destination directory to the binary package's data
+directory.
+
+.SH OPTIONS
+.TP
+.BI \-d \ dir
+Look for data files in
+.IR dir .
+The default directory is
+.IR dest .
+
+.SH FILES
+.TP
+.IR binpkg .pkg/files
+Every binary package that is to provide data files should have a file named
+.I files
+in its metadata directory. This file is a list of patterns, one per line, that
+match files in the installation destination directory. The pathnames should be
+absolute \(en that is, they should be full filesystem paths like
+.IR /usr/bin/foo .
.SH COPYRIGHT
Copyright (C) 2012 Patrick "P. J." McDermott