mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-24 15:12:18 +08:00
nano
This commit is contained in:
parent
731db333dc
commit
0455980ea9
@ -136,6 +136,7 @@
|
||||
- [**Выбор текстового редактора**](build-system/text-editor.md)
|
||||
- [Vim](build-system/vim.md)
|
||||
- [Emacs](build-system/emacs.md)
|
||||
- [Nano](build-system/nano.md)
|
||||
|
||||
- [**Выбор системы инициализации**](build-system/init-system.md)
|
||||
- **SysVinit**
|
||||
|
44
docs/build-system/nano.md
Normal file
44
docs/build-system/nano.md
Normal file
@ -0,0 +1,44 @@
|
||||
<package-info :package="package" showsbu2></package-info>
|
||||
|
||||
<script>
|
||||
new Vue({
|
||||
el: '#main',
|
||||
data: { package: {} },
|
||||
mounted: function () {
|
||||
this.getPackage('nano');
|
||||
},
|
||||
methods: {
|
||||
getPackage: function(name) {
|
||||
getPackage(name)
|
||||
.then(response => this.package = response);
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
## Настройка
|
||||
|
||||
```bash
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--enable-utf8 \
|
||||
--docdir=/usr/share/doc/nano
|
||||
```
|
||||
|
||||
## Сборка
|
||||
|
||||
```bash
|
||||
make
|
||||
```
|
||||
|
||||
## Установка
|
||||
|
||||
```bash
|
||||
make install
|
||||
```
|
||||
|
||||
## Установка документации
|
||||
|
||||
```bash
|
||||
install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano
|
||||
```
|
Loading…
Reference in New Issue
Block a user