]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
.gitlab-ci.yml: identify on runtime to db2epub directory
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 3 Jan 2020 15:58:04 +0000 (16:58 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 3 Jan 2020 22:15:42 +0000 (23:15 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
.gitlab-ci.yml

index a5cb5658312533bb89e14c52d8758e7de396f450..29f436596b3a821fa7a38129bf6047f75cf93deb 100644 (file)
@@ -74,8 +74,9 @@ doc-dist.Fedora:
   - make -C doc stamp_enums
   - make -j$(nproc)
   - make -C doc gnutls.html
-  - PATH="$PATH:/usr/share/sgml/docbook/xsl-stylesheets-1.79.1/epub/bin/" make -C doc gnutls.epub
-  - PATH="$PATH:/usr/share/sgml/docbook/xsl-stylesheets-1.79.1/epub/bin/" make -C doc/latex gnutls.pdf
+  - make -C doc/latex gnutls.pdf
+  - DB2EPUBDIR=$(dirname $(find /usr/share/sgml/docbook/xsl-ns-stylesheets-*/epub/bin/ -name dbtoepub -print))
+  - PATH="$PATH:$DB2EPUBDIR" make -C doc gnutls.epub
 # check whether distribution with or without included libopts is ok
   - make distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-local-libopts --disable-tests"
   - make distcheck