commit 95f86dafbb94c00dbbecd01fadb7c0c659aafe51
parent aa064ddaf2116a5ff210048dc30d75ce06169bd5
Author: Amitai Schleier <schmonz-web-git@schmonz.com>
Date: Tue, 19 May 2020 18:36:42 +0200
Let NROFF be redefined in the environment.
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -4,7 +4,7 @@ env:
matrix:
- BUILD_NAME="default"
- BUILD_NAME="utmp" FORCE_UTMP="1" MAKEFLAGS="-o qtmp.h"
- - BUILD_NAME="no_catman" MAKEFLAGS="NROFF=true"
+ - BUILD_NAME="no_catman" AVOID_NROFF="1"
compiler:
- gcc
- clang
@@ -16,6 +16,7 @@ addons:
script:
- echo "${CC} -O2 -Wall -Wshadow" > conf-cc
- if [ -n "${FORCE_UTMP}" ]; then cp qtmp.h1 qtmp.h; fi
+ - if [ -n "${AVOID_NROFF}" ]; then NROFF=true; export NROFF; fi
- make ${MAKEFLAGS} it man
- make test
- env DESTDIR=/tmp/qmail make ${MAKEFLAGS} package
diff --git a/Makefile b/Makefile
@@ -1,7 +1,7 @@
# Don't edit Makefile! Use conf-* for configuration.
SHELL=/bin/sh
-NROFF=nroff
+NROFF?=nroff
default: it