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

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

[nongnu] elpa/sly 17d64e4 3/3: doc/Makefile: tweak doc-making Makefile


From: ELPA Syncer
Subject: [nongnu] elpa/sly 17d64e4 3/3: doc/Makefile: tweak doc-making Makefile
Date: Thu, 4 Feb 2021 12:57:09 -0500 (EST)

branch: elpa/sly
commit 17d64e4eba1bbe5c7ea0d0b896999efb79c43184
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    doc/Makefile: tweak doc-making Makefile
---
 doc/Makefile | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/doc/Makefile b/doc/Makefile
index df1af9c..0ed3ddf 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -14,7 +14,7 @@ INSTALL_CMD=install -m 644
 # Info files generated here.
 infofiles=sly.info
 
-TEXI = sly.texi contributors.texi
+TEXI = sly.texi
 
 help:
        @echo -e "\
@@ -48,14 +48,16 @@ html.tgz: html/index.html
 
 DOCDIR=/project/sly/public_html/doc
 
-publish: sly.html
-       rm -rf gh-pages
+gh-pages:
        git clone git@github.com:joaotavora/sly.git --branch gh-pages 
--single-branch gh-pages
+
+publish: sly.html gh-pages
        cp sly.html gh-pages/index.html
        cp -Rf images/*.png gh-pages/images
-       cd gh-pages \
-       && git add index.html images/*\
-       && git commit -a -m "Automatic documentation update" \
+       cd gh-pages                                             \
+       && git add index.html images/*                          \
+       && git commit -a -m "Automatic documentation update"    \
+       && git pull --rebase                                    \
        && git push origin gh-pages
 
 sly.pdf: $(TEXI)



reply via email to

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