first version.
[build-srcpkg.git] / res / Style / SrcpkgStyle / GNU3.0 / stdfiles / cmpl.sh
blob32e44c15dc83b2cdea367839aa8ddfe0d8b20615
1 #!/bin/sh
3 . tools/build-pkg/shlib/incfile.shlib
5 PATH+="$PWD/tools/shlib-compact/bin:$PWD/tools/skeletone/bin:$PWD/tools/build-pkg/bin"
6 . shlibinc
8 add_shlib_path "$PWD/tools/shlib-compact/shlib"
9 add_shlib_path "$PWD/tools/skeletone/shlib"
10 add_shlib_path "$PWD/tools/build-pkg/shlib"
12 # include tools/build-srcpkg/build.imi
13 inc tools/build-srcpkg/cmplib.shlib
14 inc tools/build-srcpkg/pre_build.shlib
16 BAKDIR="../../dvar-n-doc/$(date +%Y-%m)"
18 scriptversion=v0.1.0-231025
19 version="build.sh $scriptversion
21 Copyright 2020 Free Software Foundation, Inc.
22 There is NO warranty. You may redistribute this software
23 under the terms of the GNU General Public License.
24 For more information about these matters, see the files named COPYING."
26 usage="Usage: $prog [OPTION]
28 It's a file of compile.
29 https://repo.or.cz/devutils.git
31 Options:
32 -f force to re-compile again even if code is compiled before.
33 -v version info.
34 -h help info.
36 sub-cmd:
37 clean clean output files.
38 bak clean and backup a tarball in the upper dir.
40 --help display help info in detail.
41 --version display version information in detail.
43 Simple example:
44 $ $prog -f
45 $ $prog
46 $ $prog clean
47 $ $prog bak
49 Email bug reports or enhancement requests to skeletone@126.com .
52 cmd_opt "$@"
54 build_proc "$@"