@@ -32,7 +32,7 @@ export TIME=$(shell LANG=C date --date='@$(TIMESTAMP)' '+%T')
3232
3333kernel_version = @KERNEL_VERSION@
3434configure_realtime_arg = @CONFIGURE_REALTIME_ARG@
35- ifneq (,$(filter nodocs,$(DEB_BUILD_OPTIONS ) ) )
35+ ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS ) ) )
3636enable_build_documentation = @ENABLE_BUILD_DOCUMENTATION@
3737endif
3838SRCDIR = $(CURDIR ) /src
@@ -57,7 +57,7 @@ override_dh_auto_build-arch:
5757 dh_auto_build -- build-software
5858
5959override_dh_auto_build-indep :
60- ifneq (,$(filter nodocs,$(DEB_BUILD_OPTIONS ) ) )
60+ ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS ) ) )
6161ifneq "$(enable_build_documentation ) " ""
6262 dh_auto_build -- manpages
6363 dh_auto_build -- translateddocs
@@ -88,7 +88,7 @@ override_dh_auto_install-arch:
8888 rm -f $(DESTDIR)/usr/share/doc/@MAIN_PACKAGE_NAME@/examples/sample-configs/*/*position*.txt
8989
9090override_dh_installdocs-arch :
91- ifneq (,$(filter nodocs,$(DEB_BUILD_OPTIONS ) ) )
91+ ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS ) ) )
9292 # Sample configs go in `usr/share/doc/linuxcnc` (not
9393 # `.../doc/@MAIN_PACKAGE_NAME@`) because that's where the
9494 # `linuxcnc` launcher script looks for them, and that's
@@ -102,14 +102,14 @@ endif
102102
103103
104104override_dh_auto_install-indep :
105- ifneq (,$(filter nodocs,$(DEB_BUILD_OPTIONS ) ) )
105+ ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS ) ) )
106106 DESTDIR=$(DESTDIR) $(MAKE) -C src install-docs install-doc
107107 # Remove the docs we just built that we don't have debs for yet...
108108 rm -f $(DESTDIR)/usr/share/doc/linuxcnc/*_nb.pdf
109109endif
110110
111111override_dh_installdocs-indep :
112- ifneq (,$(filter nodocs,$(DEB_BUILD_OPTIONS ) ) )
112+ ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS ) ) )
113113 # The G-code quick reference html docs are built as
114114 # `docs/html/${LANG}/gcode.html`. We install them
115115 # into `/usr/share/doc/@MAIN_PACKAGE_NAME@/` in each
0 commit comments