diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-04-03 10:14:45 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-04-03 10:14:45 +0000 |
commit | 50f74a79efd7af7ee5119bcfc27bdbc410a6d8e9 (patch) | |
tree | 7a7c2c655b09649a65c80c9dfdac8070a5cc6a17 /Makefile | |
parent | 33c7bf866c059d2de7824023b724ed7c05fb684f (diff) | |
download | mandoc-50f74a79efd7af7ee5119bcfc27bdbc410a6d8e9.tar.gz |
Have mandoc-db use config.h for strlcat(). Then create the btree
database from a directory, instead of a path. This is because it'll
also output an index of files to that same directory. Add documentation
to the local variable names, too.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -216,7 +216,7 @@ compat.o compat.ln: config.h MANDOCDB_OBJS = mandoc-db.o MANDOCDB_LNS = mandoc-db.ln -$(MANDOCDB_OBJS) $(MANDOCDB_LNS): mandoc.h mdoc.h man.h +$(MANDOCDB_OBJS) $(MANDOCDB_LNS): mandoc.h mdoc.h man.h config.h INDEX_MANS = mandoc.1.html \ mandoc.1.xhtml \ @@ -316,8 +316,8 @@ mandoc: $(MANDOC_OBJS) libmandoc.a $(CC) -o $@ $(MANDOC_OBJS) libmandoc.a # You'll need -ldb for Linux. -mandoc-db: mandoc-db.o libmandoc.a - $(CC) -o $@ mandoc-db.o libmandoc.a +mandoc-db: $(MANDOCDB_OBJS) libmandoc.a + $(CC) -o $@ $(MANDOCDB_OBJS) libmandoc.a llib-lmandoc.ln: $(MANDOC_LNS) $(LINT) $(LINTFLAGS) -Cmandoc $(MANDOC_LNS) |