Kaydet (Commit) a0da49f2 authored tarafından sulincix's avatar sulincix

update doc

üst 28665dd2
......@@ -2,3 +2,9 @@
fn_exists(){
LC_ALL=C type $1 | grep -q 'shell function' &>/dev/null
}
is_target(){
return [ "$TARGET" == "$1" ]
}
is_host(){
return [ "$HOST" == "$1" ]
}
......@@ -28,15 +28,15 @@ BUILDDIR
Main directory that uses for all operations. Unibuild create 3 directory for building. **WORKDIR** **INSTALLDIR** **PKGDIR**
All directories in builddir. Unibuild created builddir with **mktemp -d** command.
1. WORKDIR
**1. WORKDIR**
Workdir is building directory. Before running functions, unibuild go workdir. Workdir is changeable variable. If only one source directory in workdir. unibuild automaticaly change workdir as source directory.
2. INSTALLDIR
**2. INSTALLDIR**
Installdir is package destdir. Spec must store package files in here.
3. PKGDIR
**3. PKGDIR**
Pkgdir is packaging directory required by target packager.
......
......@@ -17,4 +17,6 @@ Simple usage
============
[TARGET=*your_target*] **unibuild** [*file/url*]
Documentation
=============
Visit https://gitlab.com/sulinos/devel/unibuild/-/blob/master/doc/building.rst
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment