emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/org-transclusion cfe5a57eea 2/5: docs:GitHub action to


From: ELPA Syncer
Subject: [elpa] externals/org-transclusion cfe5a57eea 2/5: docs:GitHub action to gen index.html
Date: Wed, 29 Dec 2021 17:57:43 -0500 (EST)

branch: externals/org-transclusion
commit cfe5a57eea115ce5faf04d951e0c01bd33684441
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>

    docs:GitHub action to gen index.html
---
 .elpaignore                   |  1 +
 .github/workflows/gh-docs.yml |  6 ++++--
 docs/Makefile                 | 23 +++++++++--------------
 3 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/.elpaignore b/.elpaignore
index 0382557c9c..6454d3112f 100644
--- a/.elpaignore
+++ b/.elpaignore
@@ -4,6 +4,7 @@ resources
 Makefile
 .gitignore
 .elpaignore
+.github
 text-clone-docs
 .dir-locals.el
 org-transclusion-pkg.el
\ No newline at end of file
diff --git a/.github/workflows/gh-docs.yml b/.github/workflows/gh-docs.yml
index 9a470dfe05..c4e35b8849 100644
--- a/.github/workflows/gh-docs.yml
+++ b/.github/workflows/gh-docs.yml
@@ -17,5 +17,7 @@ jobs:
     - name: Install texinfo
       run: sudo apt-get install texinfo
       
-    - name: Run make gh-html
-      run: make gh-html
+    - name: Run docs/make gh-html
+      run: |
+        cd docs
+        make gh-html
diff --git a/docs/Makefile b/docs/Makefile
index f91c03deb5..4ab4f0e758 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -8,23 +8,18 @@ MANUAL_HTML_ARGS =--html --no-split --footnote-style=separate 
--css-ref=resource
 
 ## Build #############################################################
 
-all: manual html install clear
-run: html install clear
+gh-html: index.html clean
 
-manual:
-       @printf "\n\n### Generating manual .texi and .info files \n\n"
-       $(EMACS) --batch -L ../ --file org-transclusion-manual.org \
-                 --eval="(progn (require 
'org-transclusion)(org-transclusion-add-all)(org-texinfo-export-to-info))"
-
-html:
+index.html: org-transclusion.texi
        @printf "\n\n### Generating manual .html files \n\n"
-       $(MAKEINFO) $(MANUAL_HTML_ARGS) org-transclusion.texi -o index.html
+       $(MAKEINFO) $(MANUAL_HTML_ARGS) $< -o index.html
 
-install:
-       @printf "\n\n### Installing manual files \n\n"
-       $(INSTALLINFO) org-transclusion.info ../dir
-       $(MV) org-transclusion.info ../
+org-transclusion.texi: org-transclusion-manual.org
+       @printf "\n\n### Generating manual .texi and .info files \n\n"
+       $(EMACS) --batch -L ../ --file $< \
+                 --eval="(progn (require 
'org-transclusion)(org-transclusion-add-all)(org-texinfo-export-to-texinfo))"
 
-clear:
+.PHONY: clean
+clean:
        @printf "\n\n### Clear .texi file \n\n"
        $(RM) org-transclusion.texi*



reply via email to

[Prev in Thread] Current Thread [Next in Thread]