version 1.496, 2017/02/06 19:04:21 |
version 1.500, 2017/02/16 15:12:32 |
|
|
# $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 426 cgi-install: man.cgi |
|
Line 428 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 |
mkdir -p $(DESTDIR)$(MANDIR)/man8 |
$(INSTALL_PROGRAM) mandocd catman $(DESTDIR)$(SBINDIR) |
$(INSTALL_PROGRAM) mandocd $(DESTDIR)$(SBINDIR) |
$(INSTALL_MAN) mandocd.8 catman.8 $(DESTDIR)$(MANDIR)/man8 |
$(INSTALL_PROGRAM) catman $(DESTDIR)$(SBINDIR)/$(BINM_CATMAN) |
|
$(INSTALL_MAN) mandocd.8 $(DESTDIR)$(MANDIR)/man8 |
|
$(INSTALL_MAN) catman.8 $(DESTDIR)$(MANDIR)/man8/$(BINM_CATMAN).8 |
|
|
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 448 man.cgi: $(CGI_OBJS) libmandoc.a |
|
Line 452 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 481 mdocml.sha256: mdocml.tar.gz |
|
Line 485 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/ |