INSTALL_LIB = install -m 0644
INSTALL_MAN = $(INSTALL_DATA)
-VERSION = 1.8.5
-VDATE = 28 July 2009
+VERSION = 1.9.2
+VDATE = 05 September 2009
VFLAGS = -DVERSION=\"$(VERSION)\"
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g
arch.c vol.c msec.c st.c mandoc.c
MANLNS = man_macro.ln man.ln man_hash.ln man_validate.ln \
- man_action.ln mandoc.ln
+ man_action.ln mandoc.ln man_argv.ln
MANOBJS = man_macro.o man.o man_hash.o man_validate.o \
- man_action.o mandoc.o
+ man_action.o mandoc.o man_argv.o
MANSRCS = man_macro.c man.c man_hash.c man_validate.c \
- man_action.c mandoc.c
+ man_action.c mandoc.c man_argv.c
-MAINLNS = main.ln mdoc_term.ln ascii.ln term.ln tree.ln \
- compat.ln man_term.ln
-MAINOBJS = main.o mdoc_term.o ascii.o term.o tree.o compat.o \
- man_term.o
-MAINSRCS = main.c mdoc_term.c ascii.c term.c tree.c compat.c \
- man_term.c
+MAINLNS = main.ln mdoc_term.ln chars.ln term.ln tree.ln \
+ compat.ln man_term.ln html.ln
+MAINOBJS = main.o mdoc_term.o chars.o term.o tree.o compat.o \
+ man_term.o html.o
+MAINSRCS = main.c mdoc_term.c chars.c term.c tree.c compat.c \
+ man_term.c html.c
LLNS = llib-llibmdoc.ln llib-llibman.ln llib-lmandoc.ln
LNS = $(MAINLNS) $(MDOCLNS) $(MANLNS)
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 ascii.in
+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
SGMLS = index.sgml
XSLS = ChangeLog.xsl
vol.ln: vol.c vol.in libmdoc.h
vol.o: vol.c vol.in libmdoc.h
-ascii.ln: ascii.c ascii.in term.h
-ascii.o: ascii.c ascii.in term.h
+chars.ln: chars.c chars.in chars.h
+chars.o: chars.c chars.in chars.h
msec.ln: msec.c msec.in libmdoc.h
msec.o: msec.c msec.in libmdoc.h
term.ln: term.c term.h man.h mdoc.h
term.o: term.c term.h man.h mdoc.h
+html.ln: html.c man.h mdoc.h
+html.o: html.c man.h mdoc.h
+
+tree.ln: tree.c man.h mdoc.h
+tree.o: tree.c man.h mdoc.h
+
mdoc_argv.ln: mdoc_argv.c libmdoc.h
mdoc_argv.o: mdoc_argv.c libmdoc.h
+man_argv.ln: man_argv.c libman.h
+man_argv.o: man_argv.c libman.h
+
man_validate.ln: man_validate.c libman.h
man_validate.o: man_validate.c libman.h
mdocml-$(VERSION).tar.gz: $(INSTALL)
mkdir -p .dist/mdocml/mdocml-$(VERSION)/
- install -m 0644 $(INSTALL) .dist/mdocml/mdocml-$(VERSION)/
+ cp -f $(INSTALL) .dist/mdocml/mdocml-$(VERSION)/
( cd .dist/mdocml/ && tar zcf ../../$@ mdocml-$(VERSION)/ )
rm -rf .dist/