return a map of all path with default layout
| 213 | |
| 214 | // return a map of all path with default layout |
| 215 | std::unordered_map<std::string, std::string> |
| 216 | runroot_map_default() |
| 217 | { |
| 218 | std::unordered_map<std::string, std::string> map; |
| 219 | |
| 220 | map[LAYOUT_PREFIX] = Layout::get()->prefix; |
| 221 | map[LAYOUT_EXEC_PREFIX] = Layout::get()->exec_prefix; |
| 222 | map[LAYOUT_BINDIR] = Layout::get()->bindir; |
| 223 | map[LAYOUT_SBINDIR] = Layout::get()->sbindir; |
| 224 | map[LAYOUT_SYSCONFDIR] = Layout::get()->sysconfdir; |
| 225 | map[LAYOUT_DATADIR] = Layout::get()->datadir; |
| 226 | map[LAYOUT_INCLUDEDIR] = Layout::get()->includedir; |
| 227 | map[LAYOUT_LIBDIR] = Layout::get()->libdir; |
| 228 | map[LAYOUT_LIBEXECDIR] = Layout::get()->libexecdir; |
| 229 | map[LAYOUT_LOCALSTATEDIR] = Layout::get()->localstatedir; |
| 230 | map[LAYOUT_RUNTIMEDIR] = Layout::get()->runtimedir; |
| 231 | map[LAYOUT_LOGDIR] = Layout::get()->logdir; |
| 232 | // mandir is not needed for runroot |
| 233 | map[LAYOUT_CACHEDIR] = Layout::get()->cachedir; |
| 234 | |
| 235 | return map; |
| 236 | } |
| 237 | |
| 238 | // return a map of all path in runroot.yaml |
| 239 | RunrootMapType |