From fdc69e771a6328752086b2f5c7a5e64936a4e3b6 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 15 Nov 2012 16:05:39 -0500 Subject: Document oh-architecture. --- 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 . -- cgit v0.9.1