summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-14 10:57:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-14 10:57:02 +0000
commit64308922dfa092ac669da8955b6018bbc3cab184 (patch)
tree6d19839b971a7df44c836577e0549ccabaf9ea30 /Makefile
parent512ce49526822961cde1cef8b80236afa5ddb4dc (diff)
downloadmandoc-64308922dfa092ac669da8955b6018bbc3cab184.tar.gz
mandoc-64308922dfa092ac669da8955b6018bbc3cab184.tar.zst
mandoc-64308922dfa092ac669da8955b6018bbc3cab184.zip
Rename makewhatis [back] into mandocdb. This is to maintain consistency
with OpenBSD, which is sandboxing the code for merge. It makes sense because it doesn't really make a `makewhatis' file in the traditional sense, so it may be confusing.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile32
1 files changed, 16 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 4570e44f..cc3e7a16 100644
--- a/Makefile
+++ b/Makefile
@@ -73,8 +73,8 @@ SRCS = Makefile \
mandoc.3 \
mandoc.c \
mandoc.h \
- makewhatis.1 \
- makewhatis.c \
+ mandocdb.1 \
+ mandocdb.c \
mandoc_char.7 \
mdoc.h \
mdoc.7 \
@@ -227,21 +227,21 @@ $(MANDOC_OBJS) $(MANDOC_LNS): main.h mandoc.h mdoc.h man.h config.h out.h
compat.o compat.ln: config.h
-MAKEWHATIS_OBJS = makewhatis.o
-MAKEWHATIS_LNS = makewhatis.ln
+MANDOCDB_OBJS = mandocdb.o
+MANDOCDB_LNS = mandocdb.ln
-$(MAKEWHATIS_OBJS) $(MAKEWHATIS_LNS): mandoc.h mdoc.h man.h config.h
+$(MANDOCDB_OBJS) $(MANDOCDB_LNS): mandoc.h mdoc.h man.h config.h
PRECONV_OBJS = preconv.o
PRECONV_LNS = preconv.ln
$(PRECONV_OBJS) $(PRECONV_LNS): config.h
-INDEX_MANS = makewhatis.1.html \
- makewhatis.1.xhtml \
- makewhatis.1.ps \
- makewhatis.1.pdf \
- makewhatis.1.txt \
+INDEX_MANS = mandocdb.1.html \
+ mandocdb.1.xhtml \
+ mandocdb.1.ps \
+ mandocdb.1.pdf \
+ mandocdb.1.txt \
mandoc.1.html \
mandoc.1.xhtml \
mandoc.1.ps \
@@ -304,8 +304,8 @@ lint: llib-llibmandoc.ln llib-lmandoc.ln llib-lpreconv.ln
clean:
rm -f libmandoc.a $(LIBMANDOC_OBJS)
rm -f llib-llibmandoc.ln $(LIBMANDOC_LNS)
- rm -f makewhatis $(MAKEWHATIS_OBJS)
- rm -f llib-lmakewhatis.ln $(MAKEWHATIS_LNS)
+ rm -f mandocdb $(MANDOCDB_OBJS)
+ rm -f llib-lmandocdb.ln $(MANDOCDB_LNS)
rm -f preconv $(PRECONV_OBJS)
rm -f llib-lpreconv.ln $(PRECONV_LNS)
rm -f mandoc $(MANDOC_OBJS)
@@ -353,11 +353,11 @@ llib-lmandoc.ln: $(MANDOC_LNS)
$(LINT) $(LINTFLAGS) -Cmandoc $(MANDOC_LNS)
# You'll need -ldb for Linux.
-makewhatis: $(MAKEWHATIS_OBJS) libmandoc.a
- $(CC) -o $@ $(MAKEWHATIS_OBJS) libmandoc.a
+mandocdb: $(MANDOCDB_OBJS) libmandoc.a
+ $(CC) -o $@ $(MANDOCDB_OBJS) libmandoc.a
-llib-lmakewhatis.ln: $(MAKEWHATIS_LNS)
- $(LINT) $(LINTFLAGS) -Cmakewhatis $(MAKEWHATIS_LNS)
+llib-lmandocdb.ln: $(MANDOCDB_LNS)
+ $(LINT) $(LINTFLAGS) -Cmandocdb $(MANDOCDB_LNS)
preconv: $(PRECONV_OBJS)
$(CC) -o $@ $(PRECONV_OBJS)