-.SUFFIXES: .html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.html .3.html .7.html
+.SUFFIXES: .html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.html .3.html .7.html .1.txt .3.txt .7.txt
BINDIR = $(PREFIX)/bin
INCLUDEDIR = $(PREFIX)/include
INSTALL_LIB = install -m 0644
INSTALL_MAN = $(INSTALL_DATA)
-VERSION = 1.9.2
-VDATE = 05 September 2009
+VERSION = 1.9.5
+VDATE = 21 September 2009
VFLAGS = -DVERSION=\"$(VERSION)\"
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g
LIBS = libmdoc.a libman.a
OBJS = $(MDOCOBJS) $(MAINOBJS) $(MANOBJS)
SRCS = $(MDOCSRCS) $(MAINSRCS) $(MANSRCS)
-DATAS = arch.in att.in lib.in msec.in st.in vol.in chars.in
-HEADS = mdoc.h libmdoc.h man.h libman.h term.h libmandoc.h
+DATAS = arch.in att.in lib.in msec.in st.in \
+ vol.in chars.in
+HEADS = mdoc.h libmdoc.h man.h libman.h term.h \
+ libmandoc.h html.h chars.h
SGMLS = index.sgml
XSLS = ChangeLog.xsl
HTMLS = index.html ChangeLog.html mandoc.1.html mdoc.3.html \
man.3.html mdoc.7.html man.7.html mandoc_char.7.html \
manuals.7.html
+TEXTS = mandoc.1.txt mdoc.3.txt man.3.txt mdoc.7.txt man.7.txt \
+ mandoc_char.7.txt manuals.7.html
+EXAMPLES = example.style.css
XMLS = ChangeLog.xml
STATICS = index.css style.css external.png
MD5S = mdocml-$(VERSION).md5
man.7 man.3
BINS = mandoc
CLEAN = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) \
- $(TARGZS) tags $(MD5S) $(XMLS)
+ $(TARGZS) tags $(MD5S) $(XMLS) $(TEXTS)
INSTALL = $(SRCS) $(HEADS) Makefile $(MANS) $(SGMLS) $(STATICS) \
- $(DATAS) $(XSLS)
+ $(DATAS) $(XSLS) $(EXAMPLES)
all: $(BINS)
dist: mdocml-$(VERSION).tar.gz
-www: all $(HTMLS) $(MD5S) $(TARGZS)
+www: all $(HTMLS) $(TEXTS) $(MD5S) $(TARGZS)
installwww: www
- install -m 0444 $(HTMLS) $(STATICS) $(PREFIX)/
+ install -m 0444 $(HTMLS) $(TEXTS) $(STATICS) $(PREFIX)/
install -m 0444 mdocml-$(VERSION).tar.gz $(PREFIX)/snapshots/
install -m 0444 mdocml-$(VERSION).md5 $(PREFIX)/snapshots/
install -m 0444 mdocml-$(VERSION).tar.gz $(PREFIX)/snapshots/mdocml.tar.gz