aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit179cbff3ea0ec44e732bf8f748222d79c649cdac (patch)
treea9eb5935c11629198915cd228e856d0f714e039b /Makefile
parent35c10ef758b5988b60e709cadaf25f74a26383b6 (diff)
downloadmandoc-179cbff3ea0ec44e732bf8f748222d79c649cdac.tar.gz
mandoc-179cbff3ea0ec44e732bf8f748222d79c649cdac.tar.zst
mandoc-179cbff3ea0ec44e732bf8f748222d79c649cdac.zip
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