real commit
authorSeth Vidal <skvidal@linux.duke.edu>
Tue, 18 Jan 2005 06:59:07 +0000 (06:59 +0000)
committerSeth Vidal <skvidal@linux.duke.edu>
Tue, 18 Jan 2005 06:59:07 +0000 (06:59 +0000)
docs/Makefile [new file with mode: 0644]
docs/createrepo.8 [new file with mode: 0644]

diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644 (file)
index 0000000..6eef9ce
--- /dev/null
@@ -0,0 +1,93 @@
+SHELL = /bin/sh
+top_srcdir = ..
+srcdir = ../docs
+prefix = /usr
+exec_prefix = ${prefix}
+
+bindir = ${exec_prefix}/bin
+sbindir = ${exec_prefix}/sbin
+libexecdir = ${exec_prefix}/libexec
+datadir = ${prefix}/share
+sysconfdir = ${prefix}/etc
+sharedstatedir = ${prefix}/com
+localstatedir = ${prefix}/var
+libdir = ${exec_prefix}/lib
+infodir = ${prefix}/info
+docdir = 
+includedir = ${prefix}/include
+oldincludedir = /usr/include
+mandir = ${prefix}/man
+
+pkgdatadir = $(datadir)/$(PACKAGE)
+pkglibdir = $(libdir)/$(PACKAGE)
+pkgincludedir = $(includedir)/$(PACKAGE)
+top_builddir = ../
+
+# all dirs
+DIRS = $(DESTDIR)$(bindir) $(DESTDIR)/etc $(DESTDIR)$(pkgdatadir)
+
+
+# INSTALL scripts 
+INSTALL         = install -p --verbose 
+INSTALL_BIN     = $(INSTALL) -m 755 
+INSTALL_DIR     = $(INSTALL) -m 755 -d 
+INSTALL_DATA    = $(INSTALL) -m 644 
+INSTALL_MODULES = $(INSTALL) -m 755 -D 
+RM             = rm -f
+
+
+all: 
+       echo "nothing to do"
+
+
+install: all installdirs
+       mkdir -p $(DESTDIR)/usr/share/man/man8
+       $(INSTALL_DATA) createrepo.8 $(DESTDIR)/usr/share/man/man8/creatrepo.8
+
+
+uninstall:
+       $(RM) $(bindir)/$(PACKAGE)
+
+
+
+clean:
+
+
+distclean:
+       $(RM) -rf .libs
+       $(RM) -f core
+       $(RM) -f *~
+
+
+mostlyclean:
+       $(MAKE) clean
+
+
+maintainer-clean:
+       $(MAKE) distclean
+
+
+distfiles:
+       distdir=$(PACKAGE)-$(VERSION); \
+       mkdir $(top_srcdir)/.disttmp/$$distdir/docs;\
+       cp \
+       $(srcdir)/createrepo.8 \
+       $(srcdir)/Makefile \
+       $(top_srcdir)/.disttmp/$$distdir/docs
+
+dailyfiles:
+       distdir=$(PACKAGE); \
+       mkdir $(top_srcdir)/.disttmp/$$distdir/docs;\
+       cp \
+       $(srcdir)/createrepo.8 \
+       $(srcdir)/Makefile \
+       $(top_srcdir)/.disttmp/$$distdir/docs
+
+installdirs:
+       $(MAKE) -C $(top_srcdir) installdirs
+
+
+.PHONY: all install install-strip uninstall clean distclean mostlyclean maintainer-clean info dvi dist distfiles check installcheck installdirs dailyfiles
+
+
+
diff --git a/docs/createrepo.8 b/docs/createrepo.8
new file mode 100644 (file)
index 0000000..4a3b8b0
--- /dev/null
@@ -0,0 +1,67 @@
+.TH "createrepo" "8" "2005 Jan 2" "Seth Vidal" ""
+
+.SH "NAME"
+createrepo \- Create repomd (xml-rpm-metadata) repository
+
+.SH "SYNOPSIS"
+\fBcreaterepo\fP [options] <directory>
+.PP
+
+.SH "DESCRIPTION"
+\fBcreaterepo\fP is a program that creates a repomd (xml-based rpm metadata) repository from a set of rpms.
+
+.SH "OPTIONS"
+.IP "\fB\-u --baseurl\fP <url>"
+Optional base url location for all files. (not used by any clients at this
+time)
+.IP "\fB\-x --exclude\fP <package>"
+File globs to exclude, can be specified multiple times.
+.IP "\fB\-q --quiet\fP"
+Run quietly.
+.IP "\fB\-g --groupfile\fP <groupfile>"
+A precreated xml filename to point to for group information.
+.br
+See examples section below for further explanation.
+.IP "\fB\-v --verbose\fP"
+Run verbosely.
+.IP "\fB\-s --checksum\fP <type>"
+Select type of checksum to use (md5 or sha).
+.br
+Default: sha
+.IP "\fB\-p --pretty\fP"
+Output xml files in pretty format.
+.IP "\fB\-V --version\fP"
+Output version.
+.IP "\fB\-h --help\fP"
+Show help menu.
+
+.SH "EXAMPLES"
+Here is an example of a repository with a groups file. Note that the
+groups file should be in the same directory as the rpm packages
+(i.e. /path/to/rpms/comps.xml).
+.br
+.PP
+\fBcreaterepo\fP \-g comps.xml /path/to/rpms
+
+.SH "FILES"
+.nf
+repodata/filelists.xml.gz
+repodata/other.xml.gz
+repodata/primary.xml.gz
+repodata/repomd.xml 
+.fi
+.PP 
+.SH "SEE ALSO"
+.I yum (8) yum.conf (5)
+
+.PP 
+.SH "AUTHORS"
+.nf 
+Seth Vidal <skvidal@phy.duke.edu>
+.fi 
+
+.PP 
+.SH "BUGS"
+Any bugs which are found should be emailed to the mailing list:
+rpm-metadata@linux.duke.edu
+.fi