From fcb48bcc7d41752f3b0493fe2d683b908373afcb Mon Sep 17 00:00:00 2001 From: Fabrice Le Fessant Date: Sat, 13 Jan 2024 10:46:11 +0100 Subject: [PATCH] Fix initial github workflow --- .github/workflows/ubuntu.yml | 3 ++- guide/Makefile | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 299a5e2..86cd2c9 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -29,7 +29,7 @@ jobs: - name: Install packages run: | sudo apt-get update - sudo apt-get install automake libtool libdb5.3-dev libxml2-dev libcjson-dev bison flex help2man gettext texlive + sudo apt-get install automake libtool libdb5.3-dev libxml2-dev libcjson-dev bison flex help2man gettext texlive texlive-latex-extra texlive-plain-generic - name: Set git user run: | @@ -38,6 +38,7 @@ jobs: - name: bootstrap run: | + cd guide make pdf - name: Upload some pdfs diff --git a/guide/Makefile b/guide/Makefile index ce16f43..8c6576c 100644 --- a/guide/Makefile +++ b/guide/Makefile @@ -125,23 +125,23 @@ info-clean: @rm -rvf info/gnucob*.info -publish: HTML/gnucobpg.html $(CSS) +publish:: HTML/gnucobpg.html $(CSS) test "$(WWW)" scp HTML/gnucobpg.html $(WWW) scp css/gnucobpg.css $(WWW)/css/ scp js/tree.js $(WWW)/js/ -publish-css: HTML/gnucobpg.html $(CSS) +publish-css:: HTML/gnucobpg.html $(CSS) test "$(WWW)" scp css/gnucobpg.css $(WWW)/css/ scp js/tree.js $(WWW)/js/ -publish-css: HTML/gnucobpr.html $(CSS) +publish-css:: HTML/gnucobpr.html $(CSS) test "$(WWW)" scp css/gnucobpr.css $(WWW)/css/ scp js/tree.js $(WWW)/js/ -publish: HTML/gnucobpr.html $(CSS) +publish:: HTML/gnucobpr.html $(CSS) test "$(WWW)" scp HTML/gnucobpr.html $(WWW) scp css/gnucobpr.css $(WWW)/css/