diff options
author | 2011-04-03 10:14:45 +0000 | |
---|---|---|
committer | 2011-04-03 10:14:45 +0000 | |
commit | 092ea6440ea0962b927f5855c0b07289422d1a0f (patch) | |
tree | 6ffcdab91d2a170529d6d57ee3cef4a4ca58a766 /Makefile | |
parent | c73cb94fe8c6fd59cba4e899deeb3d1743191888 (diff) | |
download | mandoc-092ea6440ea0962b927f5855c0b07289422d1a0f.tar.gz mandoc-092ea6440ea0962b927f5855c0b07289422d1a0f.tar.zst mandoc-092ea6440ea0962b927f5855c0b07289422d1a0f.zip |
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) |