aboutsummaryrefslogtreecommitdiff
path: root/comms/openzwave/files/patch-cpp_build_Makefile
blob: 532a930ef9a7b04bea0a401370ceab5f961453f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Allow DOXYGEN (DOCS) and DOT to be conditionally disabled
# TODO: Upstream

--- cpp/build/Makefile.orig	2019-03-27 04:09:23 UTC
+++ cpp/build/Makefile
@@ -204,7 +204,7 @@ $(top_builddir)/ozw_config: $(top_srcdir)/cpp/build/oz
 		< "$<" > "$@"
 	@chmod +x $(top_builddir)/ozw_config
 
-ifeq ($(DOT),)
+ifndef DOT
 HAVE_DOT = -e 's|[@]HAVE_DOT@|NO|g' 
 else
 HAVE_DOT = -e 's|[@]HAVE_DOT@|YES|g' 
@@ -219,7 +219,7 @@ $(top_builddir)/Doxyfile: $(top_srcdir)/docs/Doxyfile.
 		-e 's|[@]VERSION@|$(VERSION).$(VERSION_REV)|g' \
 		< "$<" > "$@"
 
-ifeq ($(DOXYGEN),)
+ifndef DOXYGEN
 doc:
 		$(warning Documentation not being built)
 else