mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-27 09:42:15 +08:00
commit
ff870ab5b2
@ -112,6 +112,7 @@
|
||||
- [Coreutils](build-system/coreutils)
|
||||
- [Check](build-system/check)
|
||||
- [Diffutils](build-system/diffutils)
|
||||
- [Gawk](build-system/gawk)
|
||||
|
||||
- [**Выбор системы инициализации**](build-system/init-system)
|
||||
- **SysVinit**
|
||||
|
55
docs/build-system/gawk.md
Normal file
55
docs/build-system/gawk.md
Normal file
@ -0,0 +1,55 @@
|
||||
<package-info :package="package" showsbu2></package-info>
|
||||
|
||||
<script>
|
||||
new Vue({
|
||||
el: '#main',
|
||||
data: { package: {} },
|
||||
mounted: function () {
|
||||
this.getPackage('gawk');
|
||||
},
|
||||
methods: {
|
||||
getPackage: function(name) {
|
||||
getPackage(name)
|
||||
.then(response => this.package = response);
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
## Подготовка
|
||||
|
||||
Следует убедиться, что ненужные файлы не будут установлены
|
||||
|
||||
```bash
|
||||
sed -i 's/extras//' Makefile.in
|
||||
```
|
||||
|
||||
## Настройка
|
||||
|
||||
```bash
|
||||
./configure --prefix=/usr
|
||||
```
|
||||
|
||||
## Сборка
|
||||
|
||||
```bash
|
||||
make
|
||||
```
|
||||
## Тестирование
|
||||
|
||||
```bash
|
||||
make check
|
||||
```
|
||||
|
||||
## Установка
|
||||
|
||||
```bash
|
||||
make install
|
||||
```
|
||||
|
||||
## Установка документации
|
||||
|
||||
```bash
|
||||
mkdir -v /usr/share/doc/gawk
|
||||
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk
|
||||
```
|
Loading…
Reference in New Issue
Block a user