summaryrefslogtreecommitdiff
path: root/macros/plain/contrib/pdcmac/pinstall.1
diff options
context:
space:
mode:
Diffstat (limited to 'macros/plain/contrib/pdcmac/pinstall.1')
-rw-r--r--macros/plain/contrib/pdcmac/pinstall.1108
1 files changed, 108 insertions, 0 deletions
diff --git a/macros/plain/contrib/pdcmac/pinstall.1 b/macros/plain/contrib/pdcmac/pinstall.1
new file mode 100644
index 0000000000..7faccac859
--- /dev/null
+++ b/macros/plain/contrib/pdcmac/pinstall.1
@@ -0,0 +1,108 @@
+.TH PINSTALL 1 "Time-stamp: <pdc 1995-03-27>" "PDCMAC 1.0" "CONTRIBUTED SOFTWARE"
+.SH NAME
+pinstall \- shellscript for copying programs into system directories,
+compatible with install
+.SH SYNOPSIS
+.na
+.B pinstall
+[
+.B \-c
+] [
+.I options
+]
+.I file1
+.I file2
+.br
+.B pinstall
+[
+.B \-c
+] [
+.I options
+]
+.I file\|.\|.\|.
+.I dir
+.br
+.BR pinstall
+.B \-\-help
+|
+.B \-\-version
+.PP
+.I options
+= [
+.B \-\-no\-create
+] [
+.BI \-\-group= groupname
+] [
+.BI \-\-owner= username
+] [
+.BI \-\-mode= mode
+] [
+.B \-\-strip
+]
+.SH DESCRIPTION
+.na
+This documents the
+.SM PDCMAC
+version of
+.IR install (1),
+called
+.IR pinstall .
+It is only used if
+.SM GNU
+.I install
+is not available.
+.PP
+This copies
+.I file1
+(which must exist)
+to the name
+.IR file2 ,
+or
+the
+.I files
+into the directory called
+.IR dir ,
+preserving the last-modified times
+(just like
+.BR "cp \-p" ).
+.PP
+This command is implemented as a shellscript.
+.SH OPTIONS
+.TP
+.B \-c
+Ignored.
+.TP
+.BI \-\-group= "groupname, " "\-g " groupname
+.PD 0v
+.TP
+.BI \-\-owner= "username, " "\-o " username
+.TP
+.BI \-\-mode= "mode, " "\-m " mode
+.PD
+Set the group, owner or mode for the new files (using the same
+conventions as
+.IR chgrp (1),
+.IR chown (1),
+and
+.IR chmod (1)
+respectively).
+Only root can combine changes of mode and group.
+.TP
+.BR \-\-help ", " \-h
+Print a usage message and exit.
+.TP
+.BR \-\-no\-create ", " \-n
+Do not copy files; instead print the commands that would have been performed.
+.TP
+.BR \-\-strip ", " \-s
+Apply
+.IR strip (1)
+to the files after copying them.
+.TP
+.BR \-\-version ", " \-V
+Print a version identification message and exit.
+.SH AUTHOR
+P. Damian Cugley
+.I damian.cugley@comlab.ox.ac.uk
+.SH "SEE ALSO"
+pmkdir(1), chgrp(1), chown(1), chmod(1), cp(1), strip(1), install(1)