]> git.cameronkatri.com Git - mandoc.git/blobdiff - Makefile
Decide whether to use_pager as early as possible,
[mandoc.git] / Makefile
index fa8e26b06a9c8bf69132caeb75427d380e05289a..2a7aa5aad8b62312e8f1713ca32aef3f7a92ea5e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.463 2015/05/21 00:04:38 schwarze Exp $
+# $Id: Makefile,v 1.466 2015/07/19 06:05:16 schwarze Exp $
 #
 # Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
 # Copyright (c) 2011, 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -93,6 +93,7 @@ SRCS           = att.c \
                   roff.c \
                   soelim.c \
                   st.c \
+                  tag.c \
                   tbl.c \
                   tbl_data.c \
                   tbl_html.c \
@@ -102,8 +103,7 @@ SRCS                 = att.c \
                   term.c \
                   term_ascii.c \
                   term_ps.c \
-                  tree.c \
-                  $(TESTSRCS)
+                  tree.c
 
 DISTFILES       = INSTALL \
                   LICENSE \
@@ -161,10 +161,12 @@ DISTFILES  = INSTALL \
                   soelim.1 \
                   st.in \
                   style.css \
+                  tag.h \
                   tbl.3 \
                   tbl.7 \
                   term.h \
-                  $(SRCS)
+                  $(SRCS) \
+                  $(TESTSRCS)
 
 LIBMAN_OBJS     = man.o \
                   man_hash.o \
@@ -234,6 +236,7 @@ BASE_OBJS    = $(MANDOC_HTML_OBJS) \
                   main.o \
                   manpath.o \
                   out.o \
+                  tag.o \
                   tree.o
 
 MAIN_OBJS       = $(BASE_OBJS)
@@ -400,7 +403,7 @@ man.cgi: $(CGI_OBJS) libmandoc.a
        $(CC) $(LDFLAGS) $(STATIC) -o $@ $(CGI_OBJS) libmandoc.a $(DBLIB)
 
 demandoc: $(DEMANDOC_OBJS) libmandoc.a
-       $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a
+       $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a -lz
 
 soelim: $(SOELIM_OBJS) compat_reallocarray.o
        $(CC) $(LDFLAGS) -o $@ $(SOELIM_OBJS) compat_reallocarray.o