12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- #! /bin/sh -
- # This file is part of the Qi distribution.
- #
- # A dummy copy as part of generating and organizing the help2man output.
- #
- PROGRAM=qi
- usage()
- {
- printf '%s' \
- "Usage: $PROGRAM COMMAND [OPTIONS] [FILE]...
- "'Qi is a simple but well-integrated package manager. It can create,
- install, remove, and upgrade software packages. Qi produces binary
- packages using recipes, which are files containing specific instructions
- to build each package from source. Qi can manage multiple packages
- under a single directory hierarchy. This method allows to maintain a
- set of packages and multiple versions of them. This means that Qi could
- be used as the main package manager or complement the existing one.
- Options:
- List of commands:
- warn Warn about files that will be installed
- install Install packages
- remove Remove packages
- upgrade Upgrade packages
- extract Extract packages for debugging purposes
- create Create a .tlz package from directory
- build Build packages using recipe names
- order Resolve build order through .order files
- Options when installing, removing, or upgrading software packages:
- -f, --force Force upgrade of pre-existing packages
- -k, --keep Keep package directory when remove/upgrade
- -p, --prune Prune conflicts
- -P, --packagedir=<dir> Set directory for package installations
- -t, --targetdir=<dir> Set target directory for symbolic links
- -r, --rootdir=<dir> Use the fully qualified named directory as
- the root directory for all qi operations
- Note: the target directory and the package
- directory will be relative to the specified
- directory, excepting the graft log file
- Options when building software packages using recipes:
- -a, --architecture Set architecture name for the package
- -j, --jobs Parallel jobs for the compiler
- -k, --keep Keep ${srcdir} or ${destdir} when build
- -S, --skip-questions Skip questions on completed recipes
- -1, --increment Increment release number (${release} + 1)
- -n, --no-package Do not create a .tlz package
- -i, --install Install package after the build
- -u, --upgrade Upgrade package after the build
- -o, --outdir=<dir> Where the packages produced will be written
- -w, --worktree=<dir> Where archives, patches, recipes are expected
- -s, --sourcedir=<dir> Where compressed sources will be found
- Other options:
- -N, --no-rc Do not read the configuration file
- -v, --verbose Be verbose (an extra -v gives more)
- -L, --show-location Print default directory locations and exit
- -h, --help Display this help and exit
- -V, --version Output version information and exit
- Environment:
- Some influential environment variables:
- TMPDIR Temporary directory for sources
- QICFLAGS C compiler flags (to be used on CFLAGS)
- QICXXFLAGS C++ compiler flags (to be used on CXXFLAGS)
- QILDFLAGS Flags for the linker (to be used on LDFLAGS)
- QICPPFLAGS C/C++ preprocessor flags (to be used on CPPFLAGS)
- SOURCE_DATE_EPOCH Last modification time for created packages
- '
- }
- if test "$1" = --help
- then
- usage
- fi
|