Do not set NO_OBJ=YES in a Makefile because /usr/share/mk/bsd.obj.mk does a test

if NO_OBJ is defined, but not about the value.

Which means you cannot unset NO_OBJ on the command line or with env variable:

$ make NO_OBJ=""

or

$ export NO_OBJ=""; make

I still think that 'make obj' doesn't really work for the doc
project. But for now, you have to disable it yourself on the command
line or in your ~/.profile.

This is a revert of r51065
This commit is contained in:
Wolfram Schneider 2017-12-10 12:47:00 +00:00
parent 75c80951fc
commit 555d5d143e
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51278

View file

@ -58,7 +58,7 @@
# #
# 'make obj' doesn't really work for the docs, disable it # 'make obj' doesn't really work for the docs, disable it
NO_OBJ?= YES #NO_OBJ?= YES
# Document-specific defaults # Document-specific defaults
DOCFORMAT?= docbook DOCFORMAT?= docbook