override_dh_shlibdeps:
dh_shlibdeps --exclude=fxavcodecplugin --exclude=avplugin -l\$(shell find $j2se_name -type f -name '*.so*' -printf '${jvm_base##/}/%h\n' | sort -u | tr '\n' ':' | sed 's/:\$\$//')
+
+override_dh_strip_nondeterminism:
+ # Disable dh_strip_nondeterminism to speed up the build
EOF
}
+j2se_doc_rules() {
+ cat << EOF
+#!/usr/bin/make -f
+
+%:
+ dh \$@
+
+override_dh_strip_nondeterminism:
+ # Disable dh_strip_nondeterminism to speed up the build
+EOF
+}
+
+
j2se_install_scripts() {
cat > "$debian_dir/postinst" << EOF
#!/bin/bash