summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-20 11:41:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-20 11:41:24 +0000
commit0dd455c3616d3ebf78cdbd98891180fa3e4db3ed (patch)
tree337b6245a2f58a67a8c98a109601c0f1280995df /Makefile
parenta94b19b8c2bc397ca6842a84bf286e1456f51d98 (diff)
downloadmandoc-0dd455c3616d3ebf78cdbd98891180fa3e4db3ed.tar.gz
Split the document parsing sequence out of main.c and into read.c,
putting the interface into mandoc.h. This effectively makes the function of main.c be command-line handling, invoking the parser, and sending its output to the output handler. The sequence of parsing (pfile(), pdesc(), etc.) has changed very little but for clean-up of some state variables (curp->fd, etc.).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 72f6e31a..d4874058 100644
--- a/Makefile
+++ b/Makefile
@@ -66,15 +66,15 @@ MANSRCS = man_macro.c man.c man_hash.c man_validate.c \
MAINLNS = main.ln mdoc_term.ln chars.ln term.ln tree.ln \
compat.ln man_term.ln html.ln mdoc_html.ln \
man_html.ln out.ln term_ps.ln term_ascii.ln \
- tbl_term.ln tbl_html.ln
+ tbl_term.ln tbl_html.ln read.ln
MAINOBJS = main.o mdoc_term.o chars.o term.o tree.o compat.o \
man_term.o html.o mdoc_html.o man_html.o out.o \
- term_ps.o term_ascii.o tbl_term.o tbl_html.o
+ term_ps.o term_ascii.o tbl_term.o tbl_html.o read.o
MAINSRCS = main.c mdoc_term.c chars.c term.c tree.c compat.c \
man_term.c html.c mdoc_html.c man_html.c out.c \
- term_ps.c term_ascii.c tbl_term.c tbl_html.c
+ term_ps.c term_ascii.c tbl_term.c tbl_html.c read.c
LLNS = llib-llibmdoc.ln llib-llibman.ln llib-lmandoc.ln \
llib-llibmandoc.ln llib-llibroff.ln