gen_clib_pro is shell tool for generating C library project.
Developed in bash code: 100%.
The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.
Table of Contents
Navigate to release page download and extract release archive.
To install gen_clib_pro type the following
tar xvzf gen_clib_pro-x.y.tar.gz
cd gen_clib_pro-x.y
cp -R ~/sh_tool/bin/ /root/scripts/gen_clib_pro/ver.x.y/
cp -R ~/sh_tool/conf/ /root/scripts/gen_clib_pro/ver.x.y/
cp -R ~/sh_tool/log/ /root/scripts/gen_clib_pro/ver.x.y/
Self generated setup script and execution
./gen_clib_pro_setup.sh
[setup] installing App/Tool/Script gen_clib_pro
Sun 05 Dec 2021 03:26:40 PM CET
[setup] copy App/Tool/Script structure
[setup] remove github editor configuration files
[setup] set App/Tool/Script permission
[setup] create symbolic link of App/Tool/Script
[setup] done
/root/scripts/gen_clib_pro/ver.2.0/
├── bin/
│ ├── center.sh
│ ├── display_logo.sh
│ └── gen_clib_pro.sh
├── conf/
│ ├── gen_clib_pro.cfg
│ ├── gen_clib_pro.logo
│ ├── gen_clib_pro_util.cfg
│ ├── project_set.cfg
│ └── template/
│ ├── authors.template
│ ├── autogen.template
│ ├── c_editorconfig.template
│ ├── changelog.template
│ ├── configure_ac.template
│ ├── copying.template
│ ├── c_source.template
│ ├── h_header.template
│ ├── makefile_am_root.template
│ ├── makefile_am_src.template
│ ├── news.template
│ ├── pc_in.template
│ └── readme.template
└── log/
└── gen_clib_pro.log
4 directories, 21 files
lrwxrwxrwx 1 root root 54 Dec 5 15:26 /root/bin/gen_clib_pro -> /root/scripts/gen_clib_pro/ver.2.0/bin/gen_clib_pro.sh
Or You can use docker to create image/container.
# Create symlink for shell tool
ln -s /root/scripts/gen_clib_pro/ver.x.y/bin/gen_clib_pro.sh /root/bin/gen_clib_pro
# Setting PATH
export PATH=${PATH}:/root/bin/
# Generating C library project
gen_clib_pro rtp
gen_clib_pro ver.2.0
Sun 05 Dec 2021 03:29:19 PM CET
[check_root] Check permission for current session? [ok]
[check_root] Done
██ ██ ██
░██░░ ░██ ██████
█████ █████ ███████ █████ ░██ ██░██ ░██░░░██ ██████ ██████
██░░░██ ██░░░██░░██░░░██ ██░░░██ ░██░██░██████ ░██ ░██░░██░░█ ██░░░░██
░██ ░██░███████ ░██ ░██ ░██ ░░ ░██░██░██░░░██ ░██████ ░██ ░ ░██ ░██
░░██████░██░░░░ ░██ ░██ ░██ ██ ░██░██░██ ░██ ░██░░░ ░██ ░██ ░██
░░░░░██░░██████ ███ ░██ █████░░█████ ███░██░██████ █████░██ ░███ ░░██████
█████ ░░░░░░ ░░░ ░░ ░░░░░ ░░░░░ ░░░ ░░ ░░░░░ ░░░░░ ░░ ░░░ ░░░░░░
░░░░░
Info github.io/gen_clib_pro ver.2.0
Issue github.io/issue
Author vroncevic.github.io
[gen_clib_pro] Loading basic and util configuration!
100% [================================================]
[load_conf] Loading App/Tool/Script configuration!
[check_cfg] Checking configuration file [/root/scripts/gen_clib_pro/ver.2.0/conf/gen_clib_pro.cfg] [ok]
[check_cfg] Done
[load_conf] Done
[load_util_conf] Load module configuration!
[check_cfg] Checking configuration file [/root/scripts/gen_clib_pro/ver.2.0/conf/gen_clib_pro_util.cfg] [ok]
[check_cfg] Done
[load_util_conf] Done
[load_util_conf] Load module configuration!
[check_cfg] Checking configuration file [/root/scripts/gen_clib_pro/ver.2.0/conf/project_set.cfg] [ok]
[check_cfg] Done
[load_util_conf] Done
[gen_clib_pro] Generate project structure!
[gen_clib_pro] Generating directory [/data/dev/bash/3_tools/gen_clib_pro/rtp/]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/autogen.sh]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/configure.ac]
[gen_clib_pro] Generating directory [/data/dev/bash/3_tools/gen_clib_pro/rtp/po/]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/po/ChangeLog]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/po/LINGUAS]
[gen_clib_pro] Generate file [/data/dev/bash/3_tools/gen_clib_pro/rtp/po/POTFILES.in]
[gen_clib_pro] Generating directory [/data/dev/bash/3_tools/gen_clib_pro/rtp/src/]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/src/lib.c]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/src/rtp.h]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/src/.editorconfig]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/src/rtp-0.1.pc.in]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/src/Makefile.am]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/Makefile.am]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/COPYING]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/AUTHORS]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/NEWS]
[gen_clib_pro] Generating file [/data/dev/bash/3_tools/gen_clib_pro/rtp/README]
[gen_clib_pro] Set permission!
[logging] Checking directory [/root/scripts/gen_clib_pro/ver.2.0/log/]? [ok]
[logging] Write info log!
[logging] Done
[gen_clib_pro] Done
[check_tool] Checking tool [/usr/bin/tree]? [ok]
[check_tool] Done
/data/dev/bash/3_tools/gen_clib_pro/rtp/
├── AUTHORS
├── autogen.sh
├── ChangeLog
├── configure.ac
├── COPYING
├── Makefile.am
├── NEWS
├── po
│ ├── ChangeLog
│ ├── LINGUAS
│ └── POTFILES.in
├── README
└── src
├── lib.c
├── Makefile.am
├── rtp-0.1.pc.in
└── rtp.h
2 directories, 15 files
gen_clib_pro requires next modules and libraries
gen_clib_pro is based on MOP.
Shell tool structure
sh_tool/
├── bin/
│ ├── center.sh
│ ├── display_logo.sh
│ └── gen_clib_pro.sh
├── conf/
│ ├── gen_clib_pro.cfg
│ ├── gen_clib_pro.logo
│ ├── gen_clib_pro_util.cfg
│ ├── project_set.cfg
│ └── template/
│ ├── authors.template
│ ├── autogen.template
│ ├── c_editorconfig.template
│ ├── changelog.template
│ ├── configure_ac.template
│ ├── copying.template
│ ├── c_source.template
│ ├── h_header.template
│ ├── makefile_am_root.template
│ ├── makefile_am_src.template
│ ├── news.template
│ ├── pc_in.template
│ └── readme.template
└── log/
└── gen_clib_pro.log
More documentation and info at
Copyright (C) 2017 - 2024 by vroncevic.github.io/gen_clib_pro
gen_clib_pro is free software; you can redistribute it and/or modify it under the same terms as Bash itself, either Bash version 4.2.47 or, at your option, any later version of Bash 4 you may have available.
Lets help and support FSF.