From c595cff8c144d7f698a9c63ac7d0249411497f28 Mon Sep 17 00:00:00 2001
From: Kristaps Dzonsons
Date: Fri, 13 May 2011 00:42:26 +0000
Subject: Rename mandoc-db to makewhatis. On the suggestion of schwarze@; I
agree. Add initial version notes.
---
Makefile | 22 +-
index.sgml | 27 +-
makewhatis.1 | 152 ++++++++++
makewhatis.c | 962 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mandoc-db.1 | 152 ----------
mandoc-db.c | 962 -----------------------------------------------------------
6 files changed, 1144 insertions(+), 1133 deletions(-)
create mode 100644 makewhatis.1
create mode 100644 makewhatis.c
delete mode 100644 mandoc-db.1
delete mode 100644 mandoc-db.c
diff --git a/Makefile b/Makefile
index a46818d9..1e6336ab 100644
--- a/Makefile
+++ b/Makefile
@@ -67,8 +67,8 @@ SRCS = Makefile \
mandoc.3 \
mandoc.c \
mandoc.h \
- mandoc-db.1 \
- mandoc-db.c \
+ makewhatis.1 \
+ makewhatis.c \
mandoc_char.7 \
mdoc.h \
mdoc.7 \
@@ -216,10 +216,10 @@ $(MANDOC_OBJS) $(MANDOC_LNS): main.h mandoc.h mdoc.h man.h config.h out.h
compat.o compat.ln: config.h
-MANDOCDB_OBJS = mandoc-db.o
-MANDOCDB_LNS = mandoc-db.ln
+MAKEWHATIS_OBJS = makewhatis.o
+MAKEWHATIS_LNS = makewhatis.ln
-$(MANDOCDB_OBJS) $(MANDOCDB_LNS): mandoc.h mdoc.h man.h config.h
+$(MAKEWHATIS_OBJS) $(MAKEWHATIS_LNS): mandoc.h mdoc.h man.h config.h
INDEX_MANS = mandoc.1.html \
mandoc.1.xhtml \
@@ -278,8 +278,8 @@ lint: llib-llibmandoc.ln llib-lmandoc.ln
clean:
rm -f libmandoc.a $(LIBMANDOC_OBJS)
rm -f llib-llibmandoc.ln $(LIBMANDOC_LNS)
- rm -f mandoc-db $(MANDOCDB_OBJS)
- rm -f llib-lmandoc-db.ln $(MANDOCDB_LNS)
+ rm -f makewhatis $(MAKEWHATIS_OBJS)
+ rm -f llib-lmakewhatis.ln $(MAKEWHATIS_LNS)
rm -f mandoc $(MANDOC_OBJS)
rm -f llib-lmandoc.ln $(MANDOC_LNS)
rm -f config.h config.log compat.o compat.ln
@@ -322,14 +322,14 @@ mandoc: $(MANDOC_OBJS) libmandoc.a
$(CC) -o $@ $(MANDOC_OBJS) libmandoc.a
# You'll need -ldb for Linux.
-mandoc-db: $(MANDOCDB_OBJS) libmandoc.a
- $(CC) -o $@ $(MANDOCDB_OBJS) libmandoc.a
+makewhatis: $(MAKEWHATIS_OBJS) libmandoc.a
+ $(CC) -o $@ $(MAKEWHATIS_OBJS) libmandoc.a
llib-lmandoc.ln: $(MANDOC_LNS)
$(LINT) $(LINTFLAGS) -Cmandoc $(MANDOC_LNS)
-llib-lmandoc-db.ln: $(MANDOCDB_LNS)
- $(LINT) $(LINTFLAGS) -Cmandoc-db $(MANDOCDB_LNS)
+llib-lmakewhatis.ln: $(MAKEWHATIS_LNS)
+ $(LINT) $(LINTFLAGS) -Cmakewhatis $(MAKEWHATIS_LNS)
mdocml.md5: mdocml.tar.gz
md5 mdocml.tar.gz >$@
diff --git a/index.sgml b/index.sgml
index c8a4d9c7..10160a69 100644
--- a/index.sgml
+++ b/index.sgml
@@ -49,8 +49,8 @@
install to install into /usr/local.
- Note that mandoc-db is not yet linked to the build. You must run make
- mandoc-db to build it.
+ Note that makewhatis is not yet linked to the build. You must run make
+ makewhatis to build it.
+ 12-05-2011: version 1.11.2
+
+
+ Corrected some installation issues in version 1.11.1.
+ Initial public release (this utility is very much under development) of makewhatis,
+ initially named mandoc-db.
+ This utility produces keyword databases of manual content
+ mandoc-cgi, which features semantic querying of manual content.
+
+
04-04-2011: version 1.11.1
@@ -379,7 +390,7 @@