From acf4e61d1af0bd857e3678a9107f4b96667c52b3 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 20 Oct 2012 22:48:21 -0400 Subject: Update oh-installfiles(1). --- (limited to 'man') diff --git a/man/Makefile.in b/man/Makefile.in index b47cb2f..3b50a28 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -35,7 +35,7 @@ sed_script = s&@@PACKAGE_NAME@@&$(package_name)&;\ .SUFFIXES: .SUFFIXES: .in -SRCS = +SRCS = oh-installfiles.1.in OBJS = $(SRCS:.in=) distdir = ../$(package_name)-$(package_version)/man 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 -- cgit v0.9.1