version 1.494, 2017/02/04 12:03:07 |
version 1.499, 2017/02/08 16:11:40 |
|
|
# $Id$ |
# $Id$ |
# |
# |
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> |
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> |
# Copyright (c) 2011, 2013-2016 Ingo Schwarze <schwarze@openbsd.org> |
# Copyright (c) 2011, 2013-2017 Ingo Schwarze <schwarze@openbsd.org> |
# |
# |
# Permission to use, copy, modify, and distribute this software for any |
# Permission to use, copy, modify, and distribute this software for any |
# purpose with or without fee is hereby granted, provided that the above |
# purpose with or without fee is hereby granted, provided that the above |
|
|
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
|
VERSION = 1.14.0 |
VERSION = 1.14.1 |
|
|
# === LIST OF FILES ==================================================== |
# === LIST OF FILES ==================================================== |
|
|
TESTSRCS = test-be32toh.c \ |
TESTSRCS = test-be32toh.c \ |
|
test-cmsg.c \ |
test-dirent-namlen.c \ |
test-dirent-namlen.c \ |
test-EFTYPE.c \ |
test-EFTYPE.c \ |
test-err.c \ |
test-err.c \ |
Line 34 TESTSRCS = test-be32toh.c \ |
|
Line 35 TESTSRCS = test-be32toh.c \ |
|
test-PATH_MAX.c \ |
test-PATH_MAX.c \ |
test-pledge.c \ |
test-pledge.c \ |
test-progname.c \ |
test-progname.c \ |
|
test-recvmsg.c \ |
test-reallocarray.c \ |
test-reallocarray.c \ |
test-rewb-bsd.c \ |
test-rewb-bsd.c \ |
test-rewb-sysv.c \ |
test-rewb-sysv.c \ |
Line 130 DISTFILES = INSTALL \ |
|
Line 132 DISTFILES = INSTALL \ |
|
NEWS \ |
NEWS \ |
TODO \ |
TODO \ |
apropos.1 \ |
apropos.1 \ |
|
catman.8 \ |
cgi.h.example \ |
cgi.h.example \ |
compat_fts.h \ |
compat_fts.h \ |
compat_ohash.h \ |
compat_ohash.h \ |
Line 158 DISTFILES = INSTALL \ |
|
Line 161 DISTFILES = INSTALL \ |
|
man.cgi.8 \ |
man.cgi.8 \ |
man.conf.5 \ |
man.conf.5 \ |
man.h \ |
man.h \ |
|
man.options.1 \ |
manconf.h \ |
manconf.h \ |
mandoc.1 \ |
mandoc.1 \ |
mandoc.3 \ |
mandoc.3 \ |
Line 171 DISTFILES = INSTALL \ |
|
Line 175 DISTFILES = INSTALL \ |
|
mandoc_html.3 \ |
mandoc_html.3 \ |
mandoc_malloc.3 \ |
mandoc_malloc.3 \ |
mandoc_ohash.h \ |
mandoc_ohash.h \ |
|
mandocd.8 \ |
mansearch.3 \ |
mansearch.3 \ |
mansearch.h \ |
mansearch.h \ |
mchars_alloc.3 \ |
mchars_alloc.3 \ |
Line 306 WWW_MANS = apropos.1.html \ |
|
Line 311 WWW_MANS = apropos.1.html \ |
|
man.1.html \ |
man.1.html \ |
mandoc.1.html \ |
mandoc.1.html \ |
soelim.1.html \ |
soelim.1.html \ |
|
man.cgi.3.html \ |
mandoc.3.html \ |
mandoc.3.html \ |
mandoc_escape.3.html \ |
mandoc_escape.3.html \ |
mandoc_headers.3.html \ |
mandoc_headers.3.html \ |
Line 319 WWW_MANS = apropos.1.html \ |
|
Line 325 WWW_MANS = apropos.1.html \ |
|
eqn.7.html \ |
eqn.7.html \ |
man.7.html \ |
man.7.html \ |
mandoc_char.7.html \ |
mandoc_char.7.html \ |
|
mandocd.8.html \ |
mdoc.7.html \ |
mdoc.7.html \ |
roff.7.html \ |
roff.7.html \ |
tbl.7.html \ |
tbl.7.html \ |
|
catman.8.html \ |
makewhatis.8.html \ |
makewhatis.8.html \ |
man.cgi.3.html \ |
|
man.cgi.8.html \ |
man.cgi.8.html \ |
man.h.html \ |
man.h.html \ |
manconf.h.html \ |
manconf.h.html \ |
Line 420 cgi-install: man.cgi |
|
Line 427 cgi-install: man.cgi |
|
|
|
catman-install: mandocd catman |
catman-install: mandocd catman |
mkdir -p $(DESTDIR)$(SBINDIR) |
mkdir -p $(DESTDIR)$(SBINDIR) |
|
mkdir -p $(DESTDIR)$(MANDIR)/man8 |
$(INSTALL_PROGRAM) mandocd catman $(DESTDIR)$(SBINDIR) |
$(INSTALL_PROGRAM) mandocd catman $(DESTDIR)$(SBINDIR) |
|
$(INSTALL_MAN) mandocd.8 catman.8 $(DESTDIR)$(MANDIR)/man8 |
|
|
Makefile.local config.h: configure ${TESTSRCS} |
Makefile.local config.h: configure ${TESTSRCS} |
@echo "$@ is out of date; please run ./configure" |
@echo "$@ is out of date; please run ./configure" |
Line 441 man.cgi: $(CGI_OBJS) libmandoc.a |
|
Line 450 man.cgi: $(CGI_OBJS) libmandoc.a |
|
mandocd: $(MANDOCD_OBJS) libmandoc.a |
mandocd: $(MANDOCD_OBJS) libmandoc.a |
$(CC) -o $@ $(LDFLAGS) $(MANDOCD_OBJS) libmandoc.a $(LDADD) |
$(CC) -o $@ $(LDFLAGS) $(MANDOCD_OBJS) libmandoc.a $(LDADD) |
|
|
catman: catman.o |
catman: catman.o libmandoc.a |
$(CC) -o $@ $(LDFLAGS) catman.o |
$(CC) -o $@ $(LDFLAGS) catman.o libmandoc.a $(LDADD) |
|
|
demandoc: $(DEMANDOC_OBJS) libmandoc.a |
demandoc: $(DEMANDOC_OBJS) libmandoc.a |
$(CC) -o $@ $(LDFLAGS) $(DEMANDOC_OBJS) libmandoc.a $(LDADD) |
$(CC) -o $@ $(LDFLAGS) $(DEMANDOC_OBJS) libmandoc.a $(LDADD) |
Line 474 mdocml.sha256: mdocml.tar.gz |
|
Line 483 mdocml.sha256: mdocml.tar.gz |
|
sha256 mdocml.tar.gz > $@ |
sha256 mdocml.tar.gz > $@ |
|
|
mdocml.tar.gz: $(DISTFILES) |
mdocml.tar.gz: $(DISTFILES) |
|
ls regress/*/*/*.mandoc_* && exit 1 || true |
mkdir -p .dist/mdocml-$(VERSION)/ |
mkdir -p .dist/mdocml-$(VERSION)/ |
$(INSTALL) -m 0644 $(DISTFILES) .dist/mdocml-$(VERSION) |
$(INSTALL) -m 0644 $(DISTFILES) .dist/mdocml-$(VERSION) |
|
cp -pR regress .dist/mdocml-$(VERSION) |
|
find .dist/mdocml-$(VERSION)/regress \ |
|
-type d -name CVS -print0 | xargs -0 rm -rf |
chmod 755 .dist/mdocml-$(VERSION)/configure |
chmod 755 .dist/mdocml-$(VERSION)/configure |
( cd .dist/ && tar zcf ../$@ mdocml-$(VERSION) ) |
( cd .dist/ && tar zcf ../$@ mdocml-$(VERSION) ) |
rm -rf .dist/ |
rm -rf .dist/ |