Skip to content

Commit d9d2d66

Browse files
committed
debian - nodocs - inverted checks in d/rules
1 parent 675bb35 commit d9d2d66

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

debian/rules.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export TIME=$(shell LANG=C date --date='@$(TIMESTAMP)' '+%T')
3232

3333
kernel_version = @KERNEL_VERSION@
3434
configure_realtime_arg = @CONFIGURE_REALTIME_ARG@
35-
ifneq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
35+
ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
3636
enable_build_documentation = @ENABLE_BUILD_DOCUMENTATION@
3737
endif
3838
SRCDIR = $(CURDIR)/src
@@ -57,7 +57,7 @@ override_dh_auto_build-arch:
5757
dh_auto_build -- build-software
5858

5959
override_dh_auto_build-indep:
60-
ifneq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
60+
ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
6161
ifneq "$(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

9090
override_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

104104
override_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
109109
endif
110110

111111
override_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

Comments
 (0)