From 3b6c23580b17850eb580cf7bf023bd9f04563ca0 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 13 Nov 2011 10:49:57 +0000 Subject: Inventing new keywords for mostly the same thing when a well-established set of keywords already exists is a bad idea, so reuse the mdoc(7) macro names as apropos(1) search types. This is a gain in brevity as well. Some time ago, kristaps@ agreed in principle. The search type bit field constants are used by both mandocdb(8) and apropos(1) and should better stay in sync, so give them their own header file. --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index af8e7097..5b30f07a 100644 --- a/Makefile +++ b/Makefile @@ -97,6 +97,7 @@ SRCS = Makefile \ mandoc.h \ mandocdb.8 \ mandocdb.c \ + mandocdb.h \ mandoc_char.7 \ mdoc.h \ mdoc.7 \ @@ -271,7 +272,7 @@ $(MANDOC_OBJS) $(MANDOC_LNS): main.h mandoc.h mdoc.h man.h config.h out.h MANDOCDB_OBJS = mandocdb.o MANDOCDB_LNS = mandocdb.ln -$(MANDOCDB_OBJS) $(MANDOCDB_LNS): mandoc.h mdoc.h man.h config.h +$(MANDOCDB_OBJS) $(MANDOCDB_LNS): mandocdb.h mandoc.h mdoc.h man.h config.h PRECONV_OBJS = preconv.o PRECONV_LNS = preconv.ln @@ -281,12 +282,12 @@ $(PRECONV_OBJS) $(PRECONV_LNS): config.h APROPOS_OBJS = apropos.o apropos_db.o APROPOS_LNS = apropos.ln apropos_db.ln -$(APROPOS_OBJS) $(APROPOS_LNS): config.h mandoc.h apropos_db.h +$(APROPOS_OBJS) $(APROPOS_LNS): config.h mandoc.h mandocdb.h apropos_db.h CGI_OBJS = cgi.o apropos_db.o CGI_LNS = cgi.ln apropos_db.ln -$(CGI_OBJS) $(CGI_LNS): config.h mandoc.h apropos_db.h +$(CGI_OBJS) $(CGI_LNS): config.h mandoc.h mandocdb.h apropos_db.h DEMANDOC_OBJS = demandoc.o DEMANDOC_LNS = demandoc.ln -- cgit