dh_installdocs is n̲o̲t nodocs-clean…
[alioth/cvs.git] / debian / rules
index 3ce485c..1995dd6 100755 (executable)
@@ -159,6 +159,9 @@ binary-arch: debian/.build_stamp
        # we ship cvs-switchroot(1) instead
        rm -f debian/stagedir/usr/share/cvs/contrib/newcvsroot
        dh_installchangelogs debian/stagedir/clogs/ChangeLog
+ifneq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
+       # this will cause lintian warnings as it installs the doc-base files
+fi
        dh_installdocs
        dh_install
        dh_installinfo