[MinGW] Clear prefix and move the directory to DESTDIR

Also the destination will be created at the installation.
This commit is contained in:
Nobuyoshi Nakada 2021-11-07 15:31:34 +09:00
Родитель ba0e3ea130
Коммит ec032e86fa
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7CD2805BFA3770C6
1 изменённых файлов: 2 добавлений и 3 удалений

5
.github/workflows/mingw.yml поставляемый
Просмотреть файл

@ -74,7 +74,6 @@ jobs:
} }
- name: misc setup, autoreconf - name: misc setup, autoreconf
run: | run: |
mkdir install
mkdir temp mkdir temp
cd src cd src
sh -c "autoreconf -fi" sh -c "autoreconf -fi"
@ -88,7 +87,7 @@ jobs:
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437") [Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
$config_args = "--build=$env:CHOST --host=$env:CHOST --target=$env:CHOST" $config_args = "--build=$env:CHOST --host=$env:CHOST --target=$env:CHOST"
Write-Host $config_args Write-Host $config_args
sh -c "../src/configure --disable-install-doc --prefix=/install $config_args" sh -c "../src/configure --disable-install-doc --prefix=/. $config_args"
# Write-Host "-------------------------------------- config.log" # Write-Host "-------------------------------------- config.log"
# Get-Content ./config.log | foreach {Write-Output $_} # Get-Content ./config.log | foreach {Write-Output $_}
@ -113,7 +112,7 @@ jobs:
$PSDefaultParameterValues['*:Encoding'] = 'utf8' $PSDefaultParameterValues['*:Encoding'] = 'utf8'
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437") [Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437") [Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
make DESTDIR=.. install-nodoc make DESTDIR=../install install-nodoc
- name: test - name: test
timeout-minutes: 5 timeout-minutes: 5