From cd5b38a4b0e8cfe634b31fc730bddbc373eb17ce Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 9 Jul 2007 14:22:01 -0400 Subject: Add a manpage for repo-add We still need some work here- we should have a repo-remove manpage link to this one, and we should not have to struggle with asciidoc formatting to get it to work like any other multiple-command manpage works. Signed-off-by: Dan McGee --- doc/.gitignore | 1 + doc/Makefile.am | 3 +++ doc/repo-add.8.txt | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 doc/repo-add.8.txt (limited to 'doc') diff --git a/doc/.gitignore b/doc/.gitignore index c7de9a64..6fee5088 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -6,5 +6,6 @@ makepkg.8 makepkg.conf.5 pacman.8 pacman.conf.5 +repo-add.8 *.xml man3 diff --git a/doc/Makefile.am b/doc/Makefile.am index 89f2a639..f790f585 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,7 @@ ASCIIDOC_MANS = \ pacman.8 \ makepkg.8 \ + repo-add.8 \ PKGBUILD.5 \ makepkg.conf.5 \ pacman.conf.5 \ @@ -15,6 +16,7 @@ endif EXTRA_DIST = \ pacman.8.txt \ makepkg.8.txt \ + repo-add.8.txt \ PKGBUILD.5.txt \ PKGBUILD-example.txt \ makepkg.conf.5.txt \ @@ -46,6 +48,7 @@ $(ASCIIDOC_MANS): $(ASCIIDOC_MANS): footer.txt pacman.8: pacman.8.txt makepkg.8: makepkg.8.txt +repo-add.8: repo-add.8.txt PKGBUILD.5: PKGBUILD.5.txt PKGBUILD-example.txt makepkg.conf.5: makepkg.conf.5.txt pacman.conf.5: pacman.conf.5.txt diff --git a/doc/repo-add.8.txt b/doc/repo-add.8.txt new file mode 100644 index 00000000..27e0e93f --- /dev/null +++ b/doc/repo-add.8.txt @@ -0,0 +1,51 @@ +///// +vim:set ts=4 sw=4 syntax=asciidoc noet: +///// +repo-add(8) +========== + +Name +---- +//// +* If we use this below line, the manpage name comes out all weird. We also +* can't use two separate lines, which is quite annoying. * +repo-add, repo-remove - package database maintenance utilities +//// +repo-add - package database maintenance utility + + +Synopsis +-------- +repo-add [--force] ... + +repo-remove ... + + +Description +----------- +repo-add and repo-remove are two scripts to help build a package database for +packages built with manlink:makepkg[8] and installed with manlink:pacman[8]. + +repo-add will update a package database by reading a built package file. +Multiple packages to add can be specified on the command line. + +repo-remove will update a package database by removing the package name +specified on the command line. Multiple packages to remove can be specified +on the command line. + + +Options +------- +*--force* (repo-add only):: + Add a force entry to the sync database, which tells pacman to skip version + number comparison and update the package regardless. This flag can be + specified in the middle of the command line, with any packages listed + before the flag being added as normal entries, and any specified after + being marked as force upgrades. + + +See Also +-------- +manlink:makepkg[8], manlink:pacman[8] + +include::footer.txt[] -- cgit v1.2.3-70-g09d2