[release-notes/wip/subpop/build-html] build: build html from mallard docs




commit f22b41a214b535f12cf61c079e9edc324f9c8441
Author: Link Dupont <link sub-pop net>
Date:   Wed Aug 18 13:18:27 2021 -0400

    build: build html from mallard docs

 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c8d6f2e3..0a4f75e7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,7 @@ variables:
   DEPENDENCIES:
     autoconf
     automake
+    findutils
     gettext
     itstool
     make
@@ -19,7 +20,7 @@ build:
     - ../autogen.sh
     - make
     - make install
-    - cp -r /usr/local/share/help/ ${CI_PROJECT_DIR}/help-release-notes/
+    - for _LANGDIR in $(find /usr/local/share/help -maxdepth 1 -type d); do _LANG=$(basename $_LANGDIR); 
mkdir -p ${CI_PROJECT_DIR}/help-release-notes/$_LANG; yelp-build html --output 
${CI_PROJECT_DIR}/help-release-notes/$_LANG $_LANGDIR/$_LANG/release-notes; done
   artifacts:
     when: on_success
     name: "release-notes-${CI_COMMIT_REF_NAME}"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]