diff options
| author | mrg <mrg@NetBSD.org> | 2021-02-28 02:39:15 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2021-02-28 02:39:15 +0000 |
| commit | ea3b8cd6b5bed81ce1719748621472d5b8ddb658 (patch) | |
| tree | 136f72e019dad21f505c2e31bf5218414e5b603a /libexec | |
| parent | 2ecefd60512138c7544757f23ecee4ca033dacab (diff) | |
give BOZOVER a default so exporting a distfile is easy.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/httpd/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libexec/httpd/Makefile b/libexec/httpd/Makefile index 05c7700bcda..bb1b0f14bc3 100644 --- a/libexec/httpd/Makefile +++ b/libexec/httpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2020/07/11 08:10:52 jruoho Exp $ +# $NetBSD: Makefile,v 1.30 2021/02/28 02:39:15 mrg Exp $ # # $eterna: Makefile,v 1.30 2010/07/11 00:34:27 mrg Exp $ # @@ -81,6 +81,12 @@ CLEANFILES+= bozohttpd.8.html bozohttpd.8.txt check: cd ${.CURDIR}/testsuite && ${MAKE} check +.if empty(BOZOVER) +BOZOVER!= sed -n \ + -e s/\"$$// -e \ + 's/\#define[ ]*SERVER_SOFTWARE[ ]*\"bozohttpd\///p' bozohttpd.c +.endif + # Create a distfile: uses /tmp BASE=bozohttpd-${BOZOVER} TAR=${BASE}.tar |
