[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 0e8d33e 03/50: Add Makefile.maintenance
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hyperbole 0e8d33e 03/50: Add Makefile.maintenance |
Date: |
Wed, 17 Mar 2021 18:44:12 -0400 (EDT) |
branch: externals/hyperbole
commit 0e8d33e988599ccb850ea3673a11b47519b59bd2
Author: Mats Lidell <matsl@gnu.org>
Commit: Mats Lidell <matsl@gnu.org>
Add Makefile.maintenance
---
Makefile.maintenance | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 94 insertions(+)
diff --git a/Makefile.maintenance b/Makefile.maintenance
new file mode 100644
index 0000000..14baf33
--- /dev/null
+++ b/Makefile.maintenance
@@ -0,0 +1,94 @@
+# Maintenance of Hyperbole distribution -*- makefile -*-
+#
+# Copyright (C) 2020 Free Software Foundation, Inc. See the file
+# HY-COPY for license information.
+#
+# This file is part of GNU Hyperbole.
+#
+# Usage:
+# make -f Makefile.maintenance target
+#
+
+# Configuration
+HYPB_WEB = ../hyperbole-web
+
+# Shell commands you may want to change for your particular system.
+EMACS = \emacs -batch -Q
+CP = \cp -p
+RM = \rm -f
+CAT = \cat
+SED = \sed
+
+help:
+ @echo
+ @echo "Targets:"
+ @echo " web: Update hyperbole GNU website workspace located at
${HYPB_WEB}"
+
+all: help
+
+# Libraries that must be pre-loaded before trying to byte-compile anything.
+PRELOADS = -l ./hload-path.el -l ./hversion.el -l ./hyperbole.el
+
+
+###################################
+# Update website repository - web #
+###################################
+
+define HY_NEWS_HEADER
+<HTML><HEAD>
+ <A ID="top"></A><A ID="k0"></A>
+ <LINK REL="stylesheet" TYPE="text/css" HREF="man/hyperbole.css">
+</HEAD>
+
+<BODY BGCOLOR="#FFFFFF">
+
+ <CENTER><H1>What's New in GNU Hyperbole</H1></CENTER>
+ <PRE>
+endef
+
+define HY_NEWS_FOOTER
+ </PRE>
+
+</BODY></HTML>
+endef
+
+web:
+# HY_NEWS
+ $(file >$(HYPB_WEB)/HY-NEWS.h, $(HY_NEWS_HEADER))
+ $(file >$(HYPB_WEB)/HY-NEWS.f, $(HY_NEWS_FOOTER))
+ $(SED) -n '/====/,/NO-MATCH/p' < HY-NEWS | $(SED) -e 's/^.*$$/ \0/' >
$(HYPB_WEB)/HY-NEWS.b
+ $(CAT) $(HYPB_WEB)/HY-NEWS.h $(HYPB_WEB)/HY-NEWS.b
$(HYPB_WEB)/HY-NEWS.f > $(HYPB_WEB)/HY-NEWS.html
+ $(RM) $(HYPB_WEB)/HY-NEWS.h $(HYPB_WEB)/HY-NEWS.f $(HYPB_WEB)/HY-NEWS.b
+
+# hyperbole.html
+ $(CP) README.md.html $(HYPB_WEB)/hyperbole.html
+
+# koutline-example.html
+ $(EMACS) $(PRELOADS) \
+ -eval "(add-to-list 'load-path \"kotl\")" \
+ -eval '(load-library "kotl-mode")' \
+ -eval '(load-library "kexport")' \
+ -eval "(kexport:html \"kotl/EXAMPLE.kotl\"
\"$(HYPB_WEB)/koutline-example.html\" nil)"
+
+# HY-WHY.html
+ $(EMACS) $(PRELOADS) \
+ -eval "(add-to-list 'load-path \"kotl\")" \
+ -eval '(load-library "kotl-mode")' \
+ -eval '(load-library "kexport")' \
+ -eval "(kexport:html \"HY-WHY.kotl\"
\"$(HYPB_WEB)/HY-WHY.html\" nil)"
+
+# DEMO DEMO-ROLO.otl
+ $(CP) DEMO DEMO-ROLO.otl $(HYPB_WEB)/
+
+# DEMO.html
+ $(EMACS) $(PRELOADS) \
+ -eval "(add-to-list 'load-path \"kotl\")" \
+ -eval '(load-library "kotl-mode")' \
+ -eval '(load-library "kimport")' -eval '(load-library
"kexport")' \
+ -eval "(kimport:star-outline \"DEMO\" \"EXPORT-BUFFER\")" \
+ -eval '(save-buffer)' \
+ -eval "(kexport:html \"EXPORT-BUFFER\"
\"$(HYPB_WEB)/DEMO.html\" nil)"
+
+# man/..
+ $(CP) -r man $(HYPB_WEB)/
+ $(RM) $(HYPB_WEB)/man/im/*.eps
- [elpa] externals/hyperbole updated (d65920b -> 4eef4e9), Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole c0e48fb 01/50: Use \0 for matched Nth substitution (#37), Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 531cf87 02/50: Handle Org links in non-Org mode buffers with a low priority ibtype, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole afbae3a 04/50: Do not save temp buffer, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole c1ac392 05/50: Use emacs lisp for updating the web repo, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 357a098 06/50: Initial org-tbl support, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 0e8d33e 03/50: Add Makefile.maintenance,
Stefan Monnier <=
- [elpa] externals/hyperbole de9e60f 09/50: Fix bug#43692, failed to do substitute fixed case for path variables, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 66b35cc 07/50: Add kotl/kotl-orgtbl.el, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 8d77205 08/50: 7.1.3a - Add key bindings and finish Kotl Org table mode support, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 4ddeaf6 10/50: Remove Makefile.maintenance, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 28a1e0c 18/50: Use xdg-open to dispatch to user preferences for display alist (#40), Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 7b92152 11/50: Merge pull request #39 from rswgnu/add-maintenance-makefile-with-web-site-support, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 7be77e0 12/50: Update git cache interactively, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole ad16470 13/50: Document Koutline Org table support; allow ibtype reprioritization, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 9f5a787 14/50: Add hypb-maintenance.el, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole e914edb 15/50: Add hypb-maintenance.el to MANIFEST, Stefan Monnier, 2021/03/17