Skip to content

Commit 53cbf19

Browse files
committed
CDRIVER-3704 fix nodoc in debian/rules
1 parent 72a1cf6 commit 53cbf19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
1818
export DEB_LDFLAGS_MAINT_APPEND := -lpthread
1919

2020
ifneq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
21-
echo "Found 'nodoc' in 'DEB_BUILD_OPTIONS'; not building documentation"
2221
DOCS=OFF
2322
else
2423
DOCS=ON
@@ -29,6 +28,7 @@ endif
2928
dh $@
3029

3130
override_dh_auto_configure:
31+
[ "$(DOCS)" = "ON" ] || echo "Found 'nodoc' in 'DEB_BUILD_OPTIONS'; not building documentation"
3232
dh_auto_configure -- \
3333
-DBUILD_VERSION=$(DEB_VERSION_UPSTREAM) \
3434
-DENABLE_MONGOC=ON \

0 commit comments

Comments
 (0)