aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-12 21:54:35 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-12 21:54:35 +0000
commitabe535d017ebcf70bf575e3048cb4ea11f75a600 (patch)
tree89012c9ae6f95bc0cf1e3a34387ff22ae072d23b /Makefile
parentfbcda63a2f8d075778d869bf8b5e39be061e27bb (diff)
downloadmandoc-abe535d017ebcf70bf575e3048cb4ea11f75a600.tar.gz
mandoc-abe535d017ebcf70bf575e3048cb4ea11f75a600.tar.zst
mandoc-abe535d017ebcf70bf575e3048cb4ea11f75a600.zip
Cleanup, no functional change:
No need to expose the tbl(7) syntax tree data structures everywhere. Move them to their own include file, "tbl.h", and improve comments.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e5661c42..a9ca0d34 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.520 2018/08/09 17:28:23 schwarze Exp $
+# $Id: Makefile,v 1.521 2018/12/12 21:54:35 schwarze Exp $
#
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
# Copyright (c) 2011, 2013-2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -202,6 +202,7 @@ DISTFILES = INSTALL \
tag.h \
tbl.3 \
tbl.7 \
+ tbl.h \
term.h \
$(SRCS) \
$(TESTSRCS)
@@ -351,7 +352,8 @@ WWW_INCS = man.h.html \
mandoc_aux.h.html \
mansearch.h.html \
mdoc.h.html \
- roff.h.html
+ roff.h.html \
+ tbl.h.html
# === USER CONFIGURATION ===============================================
@@ -422,7 +424,7 @@ lib-install: libmandoc.a
mkdir -p $(DESTDIR)$(INCLUDEDIR)
mkdir -p $(DESTDIR)$(MANDIR)/man3
$(INSTALL_LIB) libmandoc.a $(DESTDIR)$(LIBDIR)
- $(INSTALL_LIB) man.h mandoc.h mandoc_aux.h mdoc.h roff.h \
+ $(INSTALL_LIB) man.h mandoc.h mandoc_aux.h mdoc.h roff.h tbl.h \
$(DESTDIR)$(INCLUDEDIR)
$(INSTALL_MAN) mandoc.3 mandoc_escape.3 mandoc_malloc.3 \
mansearch.3 mchars_alloc.3 tbl.3 $(DESTDIR)$(MANDIR)/man3
@@ -482,6 +484,7 @@ uninstall:
rm -f $(DESTDIR)$(INCLUDEDIR)/mandoc_aux.h
rm -f $(DESTDIR)$(INCLUDEDIR)/mdoc.h
rm -f $(DESTDIR)$(INCLUDEDIR)/roff.h
+ rm -f $(DESTDIR)$(INCLUDEDIR)/tbl.h
[ ! -e $(DESTDIR)$(INCLUDEDIR) ] || rmdir $(DESTDIR)$(INCLUDEDIR)
regress: all