summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/local.mk1
-rw-r--r--man/ob-buildenv.1in34
2 files changed, 35 insertions, 0 deletions
diff --git a/man/local.mk b/man/local.mk
index 05faa5e..028817a 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -20,6 +20,7 @@ MANUAL = Distribution Build System
man1_sources = \
%reldir%/opkbuild.1in \
%reldir%/ob-checkbuilddeps.1in \
+ %reldir%/ob-buildenv.1in \
%reldir%/ob-applypatches.1in \
%reldir%/ob-installplatconf.1in \
%reldir%/ob-installdocs.1in \
diff --git a/man/ob-buildenv.1in b/man/ob-buildenv.1in
new file mode 100644
index 0000000..bfb2477
--- /dev/null
+++ b/man/ob-buildenv.1in
@@ -0,0 +1,34 @@
+.TH OB-BUILDENV 1 "@DATE@" "@SOURCE@" "@MANUAL@"
+
+.SH NAME
+ob-buildenv \- Set up build environment variables
+
+.SH SYNOPSIS
+.B ob-buildenv
+
+.SH DESCRIPTION
+.B ob-buildenv
+prints shell variable assignments for paths to any build helpers used by the
+source package, for toolchain paths, and for build flags. The output of
+.B ob-buildenv
+is suitable for execution with the
+.B eval
+command.
+
+.SH COPYRIGHT
+Copyright (C) 2019 Patrick McDermott
+.sp
+This file is part of opkbuild.
+.sp
+opkbuild is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+.sp
+opkbuild is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+.sp
+You should have received a copy of the GNU General Public License
+along with opkbuild. If not, see <http://www.gnu.org/licenses/>.