summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-15 16:05:39 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-15 16:07:03 (EST)
commitfdc69e771a6328752086b2f5c7a5e64936a4e3b6 (patch)
treedd1fe1c112d83234badd28fab8d0358dbaebfd02 /man
parent29f1b60a31e0582f5cb9bc9120c226bccebf476a (diff)
Document oh-architecture.
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.in3
-rw-r--r--man/oh-architecture.1.in55
2 files changed, 57 insertions, 1 deletions
diff --git a/man/Makefile.in b/man/Makefile.in
index 5cc6916..4866e7c 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -37,7 +37,8 @@ sed_script = s&@@PACKAGE_NAME@@&$(package_name)&;\
SRCS = oh-installfiles.1.in oh-strip.1.in oh-fixperms.1.in \
oh-autoconfigure.1.in oh-autobuild.1.in \
- oh-autoclean.1.in oh-autotest.1.in oh-autoinstall.1.in
+ oh-autoclean.1.in oh-autotest.1.in oh-autoinstall.1.in \
+ oh-architecture.1.in
OBJS = $(SRCS:.in=)
distdir = ../$(package_name)-$(package_version)/man
diff --git a/man/oh-architecture.1.in b/man/oh-architecture.1.in
new file mode 100644
index 0000000..6f0c6dd
--- /dev/null
+++ b/man/oh-architecture.1.in
@@ -0,0 +1,55 @@
+.\" Author: Patrick "P. J." McDermott
+.TH oh-architecture 1 \
+"@@DATE@@" "@@PACKAGE_NAME@@-@@PACKAGE_VERSION@@" "@@PACKAGE_DESCRIPTION@@"
+
+.SH NAME
+oh-architecture \- Print build system architecture names.
+
+.SH SYNOPSIS
+.B oh-architecture
+.RB [ -s
+.IR sourcedir ]
+.RB [ -S
+.IR buildsystem ]
+.RB [ -B
+.IR builddir ]
+.I arch
+
+.SH DESCRIPTION
+.B oh-architecture
+looks up the build system architecture that matches
+.IR arch .
+
+.SH OPTIONS
+.TP
+.BI \-s \ sourcedir
+Find sources in
+.I sourcedir
+instead of in
+.IR src .
+.TP
+.BI \-S \ buildsystem
+Force the use of
+.IR buildsystem ,
+instead of trying to detect the one used by the package.
+.TP
+.BI \-B \ builddir
+Build in
+.I builddir
+instead of in the source directory.
+
+.SH COPYRIGHT
+Copyright (C) 2012 Patrick "P. J." McDermott
+.sp
+This program 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 2 of the License, or
+(at your option) any later version.
+.sp
+This program 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 this program. If not, see <http://www.gnu.org/licenses/>.