maint: Attempt to minimize texlive dependencies.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4ec1426..b1728c8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,14 +51,14 @@
     expire_in: 2 weeks
     when: on_success
     paths:
-      - libtasn1-*.tar.gz
+      - b/libtasn1-*.tar.gz
 
 Debian11-bootstrap:
   image: debian:11-slim
   stage: build
   before_script:
   - apt-get update -qq
-  - env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq make git autoconf automake libtool bison texinfo texlive texlive-plain-generic texlive-extra-utils help2man gtk-doc-tools valgrind abigail-tools
+  - env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq make git autoconf automake libtool bison texinfo help2man gtk-doc-tools valgrind abigail-tools
   script:
   - ./bootstrap
   - ./configure --enable-gcc-warnings
@@ -77,13 +77,13 @@
   stage: build
   before_script:
   - apt-get update -qq
-  - env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq make git autoconf automake libtool bison texinfo texlive texlive-plain-generic texlive-extra-utils help2man gtk-doc-tools valgrind abigail-tools
+  - env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq make git autoconf automake libtool bison texinfo help2man gtk-doc-tools valgrind abigail-tools
   script:
   - ./bootstrap
   - ./configure --enable-gcc-warnings
   - make -j$(nproc)
   - make -j$(nproc) check
-  - make syntax-check dist
+  - make syntax-check distcheck
   artifacts:
     expire_in: 2 weeks
     when: on_success
diff --git a/Makefile.am b/Makefile.am
index c6bf943..61bd2b2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
+AM_DISTCHECK_DVI_TARGET = html
 
 EXTRA_DIST = windows/asn1-parser/asn1-parser.vcproj			\
 	windows/asn1-parser/config.h windows/libtasn1.ncb		\