qi.1.in 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #! /bin/sh -
  2. # This file is part of the Qi distribution.
  3. #
  4. # A dummy copy as part of generating and organizing the help2man output.
  5. #
  6. PROGRAM=qi
  7. usage()
  8. {
  9. printf '%s' \
  10. "Usage: $PROGRAM COMMAND [OPTIONS] [FILE]...
  11. "'Qi is a simple but well-integrated package manager. It can create,
  12. install, remove, and upgrade software packages. Qi produces binary
  13. packages using recipes, which are files containing specific instructions
  14. to build each package from source. Qi can manage multiple packages
  15. under a single directory hierarchy. This method allows to maintain a
  16. set of packages and multiple versions of them. This means that Qi could
  17. be used as the main package manager or complement the existing one.
  18. Options:
  19. List of commands:
  20. warn Warn about files that will be installed
  21. install Install packages
  22. remove Remove packages
  23. upgrade Upgrade packages
  24. extract Extract packages for debugging purposes
  25. create Create a .tlz package from directory
  26. build Build packages using recipe names
  27. order Resolve build order through .order files
  28. Options when installing, removing, or upgrading software packages:
  29. -f, --force Force upgrade of pre-existing packages
  30. -k, --keep Keep package directory when remove/upgrade
  31. -p, --prune Prune conflicts
  32. -P, --packagedir=<dir> Set directory for package installations
  33. -t, --targetdir=<dir> Set target directory for symbolic links
  34. -r, --rootdir=<dir> Use the fully qualified named directory as
  35. the root directory for all qi operations
  36. Note: the target directory and the package
  37. directory will be relative to the specified
  38. directory, excepting the graft log file
  39. Options when building software packages using recipes:
  40. -a, --architecture Set architecture name for the package
  41. -j, --jobs Parallel jobs for the compiler
  42. -k, --keep Keep ${srcdir} or ${destdir} when build
  43. -S, --skip-questions Skip questions on completed recipes
  44. -1, --increment Increment release number (${release} + 1)
  45. -n, --no-package Do not create a .tlz package
  46. -i, --install Install package after the build
  47. -u, --upgrade Upgrade package after the build
  48. -o, --outdir=<dir> Where the packages produced will be written
  49. -w, --worktree=<dir> Where archives, patches, recipes are expected
  50. -s, --sourcedir=<dir> Where compressed sources will be found
  51. Other options:
  52. -N, --no-rc Do not read the configuration file
  53. -v, --verbose Be verbose (an extra -v gives more)
  54. -L, --show-location Print default directory locations and exit
  55. -h, --help Display this help and exit
  56. -V, --version Output version information and exit
  57. Environment:
  58. Some influential environment variables:
  59. TMPDIR Temporary directory for sources
  60. QICFLAGS C compiler flags (to be used on CFLAGS)
  61. QICXXFLAGS C++ compiler flags (to be used on CXXFLAGS)
  62. QILDFLAGS Flags for the linker (to be used on LDFLAGS)
  63. QICPPFLAGS C/C++ preprocessor flags (to be used on CPPFLAGS)
  64. SOURCE_DATE_EPOCH Last modification time for created packages
  65. '
  66. }
  67. if test "$1" = --help
  68. then
  69. usage
  70. fi