summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-17 03:24:47 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-17 03:24:47 +0000
commite88e13e117e3b7d9de27952e40bb54cc9f589074 (patch)
treea2409683c88f57d8151056a5e42519a2886d87f4 /Makefile
parente787f86b365b1779d9ea4b2c1b4b35617a18d0ba (diff)
downloadmandoc-e88e13e117e3b7d9de27952e40bb54cc9f589074.tar.gz
Fully integrate apropos(1) into mandoc(1).
Switch the argmode on the progname, including man(1). Provide -f and -k options to switch the argmode. Store the argmode inside struct search, generalizing the flags. Derive the deftype from the argmode when needed instead of storing it. Store the outkey inside struct search instead of passing it alone. While here, get rid of the trailing blanks in Makefile.depend.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0a699c62..cf68fa72 100644
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,7 @@ TESTSRCS = test-dirent-namlen.c \
test-strsep.c \
test-wchar.c
-SRCS = apropos.c \
- arch.c \
+SRCS = arch.c \
att.c \
cgi.c \
chars.c \
@@ -228,7 +227,7 @@ MAKEWHATIS_OBJS = mandocdb.o mansearch_const.o manpath.o
PRECONV_OBJS = preconv.o
-APROPOS_OBJS = apropos.o mansearch.o mansearch_const.o manpath.o
+APROPOS_OBJS = mansearch.o mansearch_const.o manpath.o
CGI_OBJS = $(MANDOC_HTML_OBJS) \
cgi.o \
@@ -369,7 +368,8 @@ Makefile.local config.h: configure ${TESTSRCS}
depend: config.h
mkdep -f Makefile.depend $(CFLAGS) $(SRCS)
perl -e 'undef $$/; $$_ = <>; s|/usr/include/\S+||g; \
- s|\\\n||g; s| +| |g; print;' Makefile.depend > Makefile.tmp
+ s|\\\n||g; s| +| |g; s| $$||mg; print;' \
+ Makefile.depend > Makefile.tmp
mv Makefile.tmp Makefile.depend
libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS)