From: Tilman Sauerbeck Date: Sun, 22 Jun 2008 09:53:58 +0000 (+0200) Subject: Bug #287: Added a manpage for pkgmk.conf. X-Git-Url: http://gitweb/?a=commitdiff_plain;h=140951a0685c5b159a75f86ebaf8a8703a3568ac;p=pkgutils-cross.git Bug #287: Added a manpage for pkgmk.conf. Based on a patch by Danny Rawlins . --- diff --git a/.gitignore b/.gitignore index 0f6bd9c..e2c7965 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .depend *.o *.8 +*.5 pkgadd pkgmk rejmerge diff --git a/Makefile b/Makefile index 5e03b4c..0dd5406 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ LDFLAGS += -static -larchive -lz -lbz2 OBJECTS = main.o pkgutil.o pkgadd.o pkgrm.o pkginfo.o -MANPAGES = pkgadd.8 pkgrm.8 pkginfo.8 pkgmk.8 rejmerge.8 +MANPAGES = pkgadd.8 pkgrm.8 pkginfo.8 pkgmk.8 rejmerge.8 pkgmk.conf.5 all: pkgadd pkgmk rejmerge man @@ -85,6 +85,7 @@ install: all install -D -m0644 pkginfo.8 $(DESTDIR)$(MANDIR)/man8/pkginfo.8 install -D -m0644 pkgmk.8 $(DESTDIR)$(MANDIR)/man8/pkgmk.8 install -D -m0644 rejmerge.8 $(DESTDIR)$(MANDIR)/man8/rejmerge.8 + install -D -m0644 pkgmk.conf.5 $(DESTDIR)$(MANDIR)/man5/pkgmk.conf.5 ln -sf pkgadd $(DESTDIR)$(BINDIR)/pkgrm ln -sf pkgadd $(DESTDIR)$(BINDIR)/pkginfo diff --git a/pkgmk.8.in b/pkgmk.8.in index b131b18..b9fca26 100644 --- a/pkgmk.8.in +++ b/pkgmk.8.in @@ -86,7 +86,7 @@ Global package make configuration. .B "wget" Used by pkgmk to download source code. .SH SEE ALSO -pkgadd(8), pkgrm(8), pkginfo(8), rejmerge(8), wget(1) +pkgmk.conf(5), pkgadd(8), pkgrm(8), pkginfo(8), rejmerge(8), wget(1) .SH COPYRIGHT pkgmk (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2007 CRUX team (http://crux.nu). pkgmk (pkgutils) is licensed through the GNU General Public License. diff --git a/pkgmk.conf.5.in b/pkgmk.conf.5.in new file mode 100644 index 0000000..36a26c1 --- /dev/null +++ b/pkgmk.conf.5.in @@ -0,0 +1,61 @@ +.TH pkgmk.conf 5 "" "pkgutils #VERSION#" "" +.SH NAME +\fBpkgmk.conf\fP \- Configuration file for pkgmk. +.SH DESCRIPTION +\fBpkgmk.conf\fP configures pkgutils package make, pkgmk(8). +.SH FILE FORMAT +The file consists of a number of variable assignments of the form \fBoption\fP=\fBvalue\fP. Comments can be specified by putting a hash (#) symbol as the first character on the line. +.SH DIRECTIVES +.LP +If some option is not used (commented out or not included in the configuration file at all) pkgmk will take a default action. +.TP +\fBexport CFLAGS='STRING'\fP +Set C compiler options. +.br +Default: none +.TP +\fBexport CXXFLAGS='STRING'\fP +Set C++ compiler options. +.br +Default: none +.TP +\fBPKGMK_SOURCE_MIRRORS=('STRING')\fP +Set mirrors to check and download source archives from. +.br +Default: none +.TP +\fBPKGMK_SOURCE_DIR='STRING'\fP +Set directory for downloaded source archives. +.br +Default: directory of Pkgfile. +.TP +\fBPKGMK_PACKAGE_DIR='STRING'\fR +Set directory for built packages. +.br +Default: directory of Pkgfile. +.TP +\fBPKGMK_WORK_DIR='STRING'\fP +Set directory for building packages. +.br +Default: '\fBfoo\fP/work', where \fBfoo\fP is the directory of the Pkgfile. +.TP +\fBPKGMK_DOWNLOAD='STRING'\fP +If set to 'yes', pkgmk will download the source archives if necessary. +.br +Default: 'no' +.TP +\fBPKGMK_IGNORE_FOOTPRINT='STRING'\fP +If set to 'yes', pkgmk will not perform a footprint check of the built package. +.br +Default: 'no' +.TP +\fBPKGMK_NO_STRIP='STRING'\fP +If set to 'no', pkgmk will strip built binaries. +.br +Default: 'no' +.SH SEE ALSO +pkgmk(8) +.SH COPYRIGHT +pkgmk (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2007 CRUX team (http://crux.nu). +pkgmk (pkgutils) is licensed through the GNU General Public License. +Read the COPYING file for the complete license.