improve of cmpl.
[bush.git] / tools / cmpl / cmpl.sh
blob39526585466f116741363129f14e2714a7ba2acf
2 . tools/cmpl/shlib/incfile.shlib
3 inc tools/cmpl/shlib/cmplib.shlib
6 SRCBAK_DIR="../dvar-n-doc/$(date +%Y-%m)"
8 scriptversion=v0.1.0-231025
9 version="build.sh $scriptversion
11 Copyright 2020 Free Software Foundation, Inc.
12 There is NO warranty. You may redistribute this software
13 under the terms of the GNU General Public License.
14 For more information about these matters, see the files named COPYING."
16 usage="Usage: $prog [OPTION]
18 It's a file of compile.
19 https://repo.or.cz/devutils.git
21 Options:
22 -f force to re-compile again even if code is compiled before.
23 -v version info.
24 -h help info.
26 sub-cmd:
27 clean clean output files.
28 bak clean and backup a tarball in the upper dir.
30 --help display help info in detail.
31 --version display version information in detail.
33 Simple example:
34 $ $prog -f
35 $ $prog
36 $ $prog clean
37 $ $prog bak
39 Email bug reports or enhancement requests to skeletone@126.com .
42 cmd_opt "$@"
44 ################################################
45 # for single exe build by func in cmpl.sh.
46 ################################################
48 build_proc
50 exit