|
|
258073 |
#include "slibtool_install_impl.h"
|
|
|
258073 |
#include "argv/argv.h"
|
|
|
258073 |
|
|
|
258073 |
const struct argv_option slbt_install_options[] = {
|
|
|
258073 |
{"help", 'h',TAG_INSTALL_HELP,ARGV_OPTARG_NONE,0,0,0,
|
|
|
258073 |
"display install mode help"},
|
|
|
258073 |
|
|
|
258073 |
{0, 'c',TAG_INSTALL_COPY,ARGV_OPTARG_NONE,0,0,0,
|
|
|
258073 |
"copy"},
|
|
|
258073 |
|
|
|
f8ac22 |
{0, 'f',TAG_INSTALL_FORCE,ARGV_OPTARG_NONE,0,0,0,
|
|
|
f8ac22 |
"force copy"},
|
|
|
f8ac22 |
|
|
|
258073 |
{0, 'd',TAG_INSTALL_MKDIR,ARGV_OPTARG_NONE,0,0,0,
|
|
|
258073 |
"create directories"},
|
|
|
258073 |
|
|
|
258073 |
{0, 'D',TAG_INSTALL_TARGET_MKDIR,ARGV_OPTARG_NONE,0,0,0,
|
|
|
258073 |
"create target directories"},
|
|
|
258073 |
|
|
|
258073 |
{0, 's',TAG_INSTALL_STRIP,ARGV_OPTARG_NONE,0,0,0,
|
|
|
258073 |
"strip symbols"},
|
|
|
258073 |
|
|
|
258073 |
{0, 'p',TAG_INSTALL_PRESERVE,ARGV_OPTARG_NONE,0,0,0,
|
|
|
258073 |
"preserve symbols"},
|
|
|
258073 |
|
|
|
258073 |
{0, 'o',TAG_INSTALL_USER,ARGV_OPTARG_REQUIRED,0,0,"<user>",
|
|
|
258073 |
"set %s ownership"},
|
|
|
258073 |
|
|
|
258073 |
{0, 'g',TAG_INSTALL_GROUP,ARGV_OPTARG_REQUIRED,0,0,"<group>",
|
|
|
258073 |
"set %s ownership"},
|
|
|
258073 |
|
|
|
258073 |
{0, 'm',TAG_INSTALL_MODE,ARGV_OPTARG_REQUIRED,0,0,"<mode>",
|
|
|
258073 |
"set permissions to %s"},
|
|
|
258073 |
|
|
|
258073 |
{0, 't',TAG_INSTALL_DSTDIR,ARGV_OPTARG_REQUIRED,0,0,"<dstdir>",
|
|
|
258073 |
"install to %s"},
|
|
|
258073 |
|
|
|
258073 |
{0,0,0,0,0,0,0,0}
|
|
|
258073 |
};
|