version 1.343, 2011/05/26 00:30:11 |
version 1.352, 2011/07/03 20:54:41 |
|
|
# in the lower-left hand corner of -mdoc manuals. |
# in the lower-left hand corner of -mdoc manuals. |
# CFLAGS += -DOSNAME="\"OpenBSD 4.5\"" |
# CFLAGS += -DOSNAME="\"OpenBSD 4.5\"" |
|
|
VERSION = 1.11.2 |
VERSION = 1.11.3 |
VDATE = 12 May 2011 |
VDATE = 26 May 2011 |
# IFF your system supports multi-byte functions (setlocale(), wcwidth(), |
# IFF your system supports multi-byte functions (setlocale(), wcwidth(), |
# putwchar()) AND has __STDC_ISO_10646__ (that is, wchar_t is simply a |
# putwchar()) AND has __STDC_ISO_10646__ (that is, wchar_t is simply a |
# UCS-4 value) should you define USE_WCHAR. If you define it and your |
# UCS-4 value) should you define USE_WCHAR. If you define it and your |
Line 32 INSTALL_DATA = $(INSTALL) -m 0444 |
|
Line 32 INSTALL_DATA = $(INSTALL) -m 0444 |
|
INSTALL_LIB = $(INSTALL) -m 0644 |
INSTALL_LIB = $(INSTALL) -m 0644 |
INSTALL_MAN = $(INSTALL_DATA) |
INSTALL_MAN = $(INSTALL_DATA) |
|
|
all: mandoc |
all: mandoc preconv |
|
|
SRCS = Makefile \ |
SRCS = Makefile \ |
arch.c \ |
arch.c \ |
Line 88 SRCS = Makefile \ |
|
Line 88 SRCS = Makefile \ |
|
msec.in \ |
msec.in \ |
out.c \ |
out.c \ |
out.h \ |
out.h \ |
|
preconv.1 \ |
|
preconv.c \ |
predefs.in \ |
predefs.in \ |
read.c \ |
read.c \ |
roff.7 \ |
roff.7 \ |
Line 106 SRCS = Makefile \ |
|
Line 108 SRCS = Makefile \ |
|
term.h \ |
term.h \ |
term_ascii.c \ |
term_ascii.c \ |
term_ps.c \ |
term_ps.c \ |
|
test-mmap.c \ |
test-strlcat.c \ |
test-strlcat.c \ |
test-strlcpy.c \ |
test-strlcpy.c \ |
tree.c \ |
tree.c \ |
Line 268 INDEX_MANS = makewhatis.1.html \ |
|
Line 271 INDEX_MANS = makewhatis.1.html \ |
|
mdoc.7.ps \ |
mdoc.7.ps \ |
mdoc.7.pdf \ |
mdoc.7.pdf \ |
mdoc.7.txt \ |
mdoc.7.txt \ |
|
preconv.1.html \ |
|
preconv.1.xhtml \ |
|
preconv.1.ps \ |
|
preconv.1.pdf \ |
|
preconv.1.txt \ |
roff.7.html \ |
roff.7.html \ |
roff.7.xhtml \ |
roff.7.xhtml \ |
roff.7.ps \ |
roff.7.ps \ |
Line 290 INDEX_OBJS = $(INDEX_MANS) \ |
|
Line 298 INDEX_OBJS = $(INDEX_MANS) \ |
|
|
|
www: index.html |
www: index.html |
|
|
lint: llib-llibmandoc.ln llib-lmandoc.ln |
lint: llib-llibmandoc.ln llib-lmandoc.ln llib-lpreconv.ln |
|
|
clean: |
clean: |
rm -f libmandoc.a $(LIBMANDOC_OBJS) |
rm -f libmandoc.a $(LIBMANDOC_OBJS) |
|
|
mkdir -p $(DESTDIR)$(MANDIR)/man1 |
mkdir -p $(DESTDIR)$(MANDIR)/man1 |
mkdir -p $(DESTDIR)$(MANDIR)/man3 |
mkdir -p $(DESTDIR)$(MANDIR)/man3 |
mkdir -p $(DESTDIR)$(MANDIR)/man7 |
mkdir -p $(DESTDIR)$(MANDIR)/man7 |
$(INSTALL_PROGRAM) mandoc $(DESTDIR)$(BINDIR) |
$(INSTALL_PROGRAM) mandoc preconv $(DESTDIR)$(BINDIR) |
$(INSTALL_LIB) libmandoc.a $(DESTDIR)$(LIBDIR) |
$(INSTALL_LIB) libmandoc.a $(DESTDIR)$(LIBDIR) |
$(INSTALL_LIB) mandoc.h $(DESTDIR)$(INCLUDEDIR) |
$(INSTALL_LIB) man.h mdoc.h mandoc.h $(DESTDIR)$(INCLUDEDIR) |
$(INSTALL_MAN) mandoc.1 $(DESTDIR)$(MANDIR)/man1 |
$(INSTALL_MAN) mandoc.1 preconv.1 $(DESTDIR)$(MANDIR)/man1 |
$(INSTALL_MAN) mandoc.3 $(DESTDIR)$(MANDIR)/man3 |
$(INSTALL_MAN) mandoc.3 $(DESTDIR)$(MANDIR)/man3 |
$(INSTALL_MAN) man.7 mdoc.7 roff.7 eqn.7 tbl.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7 |
$(INSTALL_MAN) man.7 mdoc.7 roff.7 eqn.7 tbl.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7 |
$(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR) |
$(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR) |
Line 374 config.h: config.h.pre config.h.post |
|
Line 382 config.h: config.h.pre config.h.post |
|
if $(CC) $(CFLAGS) -Werror -o test-strlcat test-strlcat.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -o test-strlcat test-strlcat.c >> config.log 2>&1; then \ |
echo '#define HAVE_STRLCAT'; \ |
echo '#define HAVE_STRLCAT'; \ |
rm test-strlcat; \ |
rm test-strlcat; \ |
|
fi; \ |
|
if $(CC) $(CFLAGS) -Werror -o test-mmap test-mmap.c >> config.log 2>&1; then \ |
|
echo '#define HAVE_MMAP'; \ |
|
rm test-mmap; \ |
fi; \ |
fi; \ |
if $(CC) $(CFLAGS) -Werror -o test-strlcpy test-strlcpy.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -o test-strlcpy test-strlcpy.c >> config.log 2>&1; then \ |
echo '#define HAVE_STRLCPY'; \ |
echo '#define HAVE_STRLCPY'; \ |