summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bzrignore1
-rw-r--r--Makefile6
-rw-r--r--fsck-larch.1.in30
3 files changed, 36 insertions, 1 deletions
diff --git a/.bzrignore b/.bzrignore
new file mode 100644
index 0000000..6d4b6fa
--- /dev/null
+++ b/.bzrignore
@@ -0,0 +1 @@
+fsck-larch.1
diff --git a/Makefile b/Makefile
index 3baff58..5b60519 100644
--- a/Makefile
+++ b/Makefile
@@ -15,9 +15,12 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-all:
+all: fsck-larch.1
$(MAKE) -C doc html
+fsck-larch.1: fsck-larch.1.in fsck-larch
+ ./fsck-larch --generate-manpage=fsck-larch.1.in > fsck-larch.1
+
check:
python -m CoverageTestRunner --ignore-missing-from=without-tests
rm .coverage
@@ -27,4 +30,5 @@ check:
clean:
rm -f .coverage *.py[co] larch/*.py[co] insert.prof lookup.prof
rm -rf build tempdir larch.log example.tree
+ rm -f fsck-larch.1
$(MAKE) -C doc clean
diff --git a/fsck-larch.1.in b/fsck-larch.1.in
new file mode 100644
index 0000000..8170309
--- /dev/null
+++ b/fsck-larch.1.in
@@ -0,0 +1,30 @@
+.\" Copyright 2011 Lars Wirzenius <liw@liw.fi>
+.\"
+.\" 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.
+.\"
+.\" 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.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
+.\"
+.TH FSCK-LARCH 1
+.SH NAME
+fsck-larch \- verify that a larch B-tree is internally consistent
+.SH SYNOPSIS
+.SH DESCRIPTION
+.B fsck-larch
+reads an on-disk, committed B-tree created by the
+.B larch
+Python library,
+and verifies that it is internally consistent.
+It reports any problems it finds,
+but does not currently fix them.
+.SH OPTIONS
+.SH "SEE ALSO"
+.URL http://liw.fi/larch/