mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
added new command-line utility, opm, for managing community contributed OpenResty packages.
This commit is contained in:
13
util/configure
vendored
13
util/configure
vendored
@ -958,6 +958,19 @@ _EOC_
|
||||
}
|
||||
}
|
||||
|
||||
# configure opm:
|
||||
{
|
||||
my $opm_dir = auto_complete 'opm';
|
||||
my $target_dir;
|
||||
if ($platform eq 'msys') {
|
||||
$target_dir = "\$(DESTDIR)$prefix/";
|
||||
} else {
|
||||
$target_dir = "\$(DESTDIR)$prefix/bin/";
|
||||
}
|
||||
push @make_install_cmds, "cd $root_dir/build/$opm_dir && "
|
||||
. "$root_dir/build/install bin/* $target_dir";
|
||||
}
|
||||
|
||||
# configure resty-cli:
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user