diff --git a/debian/changelog b/debian/changelog
index 4da9de177999ec4de578428cb66349f5e9c12841..b9e5c17877f5a951868a24c2de58a9d1cde9e524 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ liblayout (0.2.10-5) UNRELEASED; urgency=medium
 
   * Team upload.
   * Removed the unused dependency on libjakarta-poi-java
+  * Removed the -java-doc package
   * Changed the section from libs to java
   * Standards-Version updated to 4.5.1
   * Switch to debhelper level 13
diff --git a/debian/control b/debian/control
index 617e3d64d4ac7ff2eb39cc4878a7930112b32d83..72053fe22fb7c76a98e7e09561c76a057384f8aa 100644
--- a/debian/control
+++ b/debian/control
@@ -28,19 +28,7 @@ Vcs-Git: https://salsa.debian.org/java-team/liblayout.git
 Package: liblayout-java
 Architecture: all
 Depends: ${java:Depends}, ${misc:Depends}
-Suggests: liblayout-java-doc
 Description: Java layouting framework
  LibLayout is a layouting framework. It is based on the Cascading StyleSheets
  standard (in the upcoming version 3). The layouting expects to receive its
  content as a DOM structure (although it does not rely on the W3C-DOM API).
-
-Package: liblayout-java-doc
-Section: doc
-Architecture: all
-Depends: ${misc:Depends}
-Description: Java layouting framework -- documentation
- LibLayout is a layouting framework. It is based on the Cascading StyleSheets
- standard (in the upcoming version 3). The layouting expects to receive its
- content as a DOM structure (although it does not rely on the W3C-DOM API).
- .
- This package contains the Javadoc.
diff --git a/debian/liblayout-java-doc.install b/debian/liblayout-java-doc.install
deleted file mode 100644
index d285244cfc4f5cdd3ed558bcd9fc212fc0cbddd5..0000000000000000000000000000000000000000
--- a/debian/liblayout-java-doc.install
+++ /dev/null
@@ -1 +0,0 @@
-build/api/* usr/share/doc/liblayout-java/api
diff --git a/debian/rules b/debian/rules
index 236befeaee3a4c60e4a0a72bf974708abfe70fd6..a926104844bb46f74c54ceb827cdfbe6f5a581a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,9 +9,11 @@ DEB_UPSTREAM_VERSION := 0.2.10
 %:
 	dh $@ --with javahelper
 
+override_dh_auto_build:
+	dh_auto_build -- jar
+
 override_dh_auto_clean:
 	-rm -rf build
-	-rm -rf javadoc
 	-rm -f liblayout*-$(DEB_UPSTREAM_VERSION).jar
 	# don't use them, go sure
 	-rm -f lib/* lib/optional/*