Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/httpd merge parts of the release Makefile back in; u...
details: https://anonhg.NetBSD.org/src/rev/be33adf2adb3
branches: trunk
changeset: 787887:be33adf2adb3
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jul 11 08:32:39 2013 +0000
description:
merge parts of the release Makefile back in; unused by the netbsd build.
diffstat:
libexec/httpd/Makefile | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
diffs (40 lines):
diff -r b6f7b63f967c -r be33adf2adb3 libexec/httpd/Makefile
--- a/libexec/httpd/Makefile Thu Jul 11 08:24:47 2013 +0000
+++ b/libexec/httpd/Makefile Thu Jul 11 08:32:39 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2010/09/20 23:11:38 mrg Exp $
+# $NetBSD: Makefile,v 1.13 2013/07/11 08:32:39 mrg Exp $
#
# $eterna: Makefile,v 1.30 2010/07/11 00:34:27 mrg Exp $
#
@@ -44,4 +44,30 @@
.endif
+#
+# Build release things.
+#
+NROFF?= nroff
+
+PREHTMLFROB= sed \
+ -e 's/&/\&/' \
+ -e 's/</\</' \
+ -e 's/>/\>/'
+
+HTMLFROB= sed \
+ -e 's/\([MC] "[^"]*\)<dd>$$/\1<b>"<\/b><dd>/' \
+ -e 's/'"''"'/\”/' \
+ -e 's/""/\“/' \
+ -e 's/<a href="\.\.\/html[^>]*>\(.*\)<\/a>/\1/'
+
+TXTFROB= col -b
+
+bozohttpd.8.html: bozohttpd.8
+ $(PREHTMLFROB) $> | $(NROFF) -mdoc2html | $(HTMLFROB) > $@
+
+bozohttpd.8.txt: bozohttpd.8
+ $(NROFF) -mdoc -Tascii $> | $(TXTFROB) > $@
+
+CLEANFILES+= bozohttpd.8.html bozohttpd.8.txt
+
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index