add docs only if nodocs is not set

This commit is contained in:
Michael Zanetti 2017-06-22 19:27:30 +02:00
parent e057190254
commit 34fbf774e4

4
debian/rules vendored
View File

@ -11,8 +11,8 @@ else
endif
MAKE_TARGETS="all"
ifneq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
MAKE_TARGETS += " doc"
ifneq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
MAKE_TARGETS += docs
endif
DPKG_EXPORT_BUILDFLAGS = 1