From b576a3239fd1a971cac72d75f98dc690da6846c9 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 21 Jan 2012 12:01:24 -0500 Subject: Document oh-gencontrol. --- diff --git a/Makefile.in b/Makefile.in index a2a88bd..fbda315 100644 --- a/Makefile.in +++ b/Makefile.in @@ -73,6 +73,9 @@ install: all @printf ' INSTALL man/oh-installfiles.1\n' @$(INSTALL) -D "$(SRCDIR)/man/oh-installfiles.1" \ "$(DESTDIR)/$(MANDIR)/man1/oh-installfiles.1" + @printf ' INSTALL man/oh-gencontrol.1\n' + @$(INSTALL) -D "$(SRCDIR)/man/oh-gencontrol.1" \ + "$(DESTDIR)/$(MANDIR)/man1/oh-gencontrol.1" @printf ' INSTALL man/oh-buildopk.1\n' @$(INSTALL) -D "$(SRCDIR)/man/oh-buildopk.1" \ "$(DESTDIR)/$(MANDIR)/man1/oh-buildopk.1" @@ -87,11 +90,15 @@ uninstall: @rm "$(DESTDIR)/$(BINDIR)/oh-installfiles" @printf ' RM oh-buildopk\n' @rm "$(DESTDIR)/$(BINDIR)/oh-buildopk" + @printf ' RM controlfields\n' + @rm "$(DESTDIR)/$(LIBDIR)/opkhelper/controlfields" @printf ' RM opkbuild.1\n' @rm "$(DESTDIR)/$(MANDIR)/man1/opkbuild.1" @printf ' RM oh-strip.1\n' @rm "$(DESTDIR)/$(MANDIR)/man1/oh-strip.1" @printf ' RM oh-installfiles.1\n' @rm "$(DESTDIR)/$(MANDIR)/man1/oh-installfiles.1" + @printf ' RM oh-gencontrol.1\n' + @rm "$(DESTDIR)/$(MANDIR)/man1/oh-gencontrol.1" @printf ' RM oh-buildopk.1\n' @rm "$(DESTDIR)/$(MANDIR)/man1/oh-buildopk.1" diff --git a/man/oh-gencontrol.1 b/man/oh-gencontrol.1 new file mode 100644 index 0000000..9159c13 --- /dev/null +++ b/man/oh-gencontrol.1 @@ -0,0 +1,32 @@ +.\" Author: Patrick "P. J." McDermott +.TH oh-gencontrol 1 "2012-01-21" "opkhelper-0.1.0" "opkg Build Helper Tools" +.SH NAME +oh-gencontrol \- Generates a control directory with a control file and scripts. +.SH SYNOPSIS +.B oh-gencontrol +.BR -s \ | +.IR pkgname ... +.SH DESCRIPTION +.B oh-gencontrol +makes a control directory for a package and populates it with the package's +maintainer scripts and a generated control file. +.SH OPTIONS +.TP +.B \-s +Generate a control directory for the binary package that contains source +packaging. +.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 3 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 . diff --git a/src/oh-gencontrol b/src/oh-gencontrol index b89b3d1..405c560 100644 --- a/src/oh-gencontrol +++ b/src/oh-gencontrol @@ -1,8 +1,8 @@ #! /bin/sh # # opkhelper -# src/oh-buildopk -# Pack binary package files into an opk file. +# src/oh-gencontrol +# Generates a control directory with a control file and scripts. # # Copyright (C) 2012 Patrick "P. J." McDermott # -- cgit v0.9.1