diff --git a/ChangeLog b/ChangeLog index e72c1851..f8c01d7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2024-11-24 Mats Lidell + +* Makefile (website-local-devel): Update the website files locally for + development version. + (website-devel): Push local updates to go live at + https:/www.gnu.org/software/hyperbole/devel. + 2024-11-23 Mats Lidell * Makefile (BATCHFLAGS): Use debug-on-error's default value nil. Emacs 31 diff --git a/Makefile b/Makefile index 5bf36c2b..f74e4744 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # Author: Bob Weiner # # Orig-Date: 15-Jun-94 at 03:42:38 -# Last-Mod: 23-Nov-24 at 11:23:02 by Mats Lidell +# Last-Mod: 24-Nov-24 at 22:28:43 by Mats Lidell # # Copyright (C) 1994-2023 Free Software Foundation, Inc. # See the file HY-COPY for license information. @@ -177,7 +177,8 @@ pkg_hyperbole = $(pkg_parent)/hyperbole-$(HYPB_VERSION) ELISP_TO_COMPILE = $(pkg_parent)/elc-${USER} # Path to dir where the web repository is located i.e. hypb:web-repo-location -HYPB_WEB_REPO_LOCATION = "../hyweb/hyperbole/" +HYPB_WEB_REPO_LOCATION = ../hyweb/hyperbole/ +HYPB_WEB_REPO_LOCATION_DEVEL = $(HYPB_WEB_REPO_LOCATION)devel/ # CI/CD Emacs versions for local docker based tests DOCKER_VERSIONS=27.2 28.2 29.4 master @@ -420,13 +421,21 @@ README.md.html: README.md README.toc.md # website maintenance: "https://www.gnu.org/software/hyperbole/" # Locally update Hyperbole website website-local: README.md.html - $(EMACS_BATCH) --debug -l hypb-maintenance --eval '(let ((hypb:web-repo-location $(HYPB_WEB_REPO_LOCATION))) (hypb:web-repo-update))' + $(EMACS_BATCH) --debug -l hypb-maintenance --eval '(let ((hypb:web-repo-location "$(HYPB_WEB_REPO_LOCATION)")) (hypb:web-repo-update))' # Push to public Hyperbole website website: website-local cd $(HYPB_WEB_REPO_LOCATION) && $(CVS) commit -m "Hyperbole release $(HYPB_VERSION)" @echo "Website for Hyperbole $(HYPB_VERSION) is updated." +# Locally update development website +website-local-devel: README.md.html + $(EMACS_BATCH) --debug -l hypb-maintenance --eval '(let ((hypb:web-repo-location "$(HYPB_WEB_REPO_LOCATION_DEVEL)")) (hypb:web-repo-update))' + +website-devel: website-local-devel + cd $(HYPB_WEB_REPO_LOCATION_DEVEL) && $(CVS) commit -m "Hyperbole development update $(HYPB_VERSION)" + @echo "Website for Hyperbole $(HYPB_VERSION) is updated." + # Generate a Hyperbole package suitable for distribution via the Emacs package manager. pkg: package package: tags doc $(pkg_parent)/hyperbole-$(HYPB_VERSION).tar.sig