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

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

[elpa] externals/dash 7ec3975 292/316: Avoid deleting docs in old Emacs


From: ELPA Syncer
Subject: [elpa] externals/dash 7ec3975 292/316: Avoid deleting docs in old Emacs versions
Date: Mon, 15 Feb 2021 15:58:19 -0500 (EST)

branch: externals/dash
commit 7ec3975c9a553f4eee9b05aef8296a8c44e47cef
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    Avoid deleting docs in old Emacs versions
    
    * Makefile (maintainer-clean): Check minimum supported Emacs version
    before deleting docs, to ensure they can be regenerated.
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index b587c49..efee2db 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,10 @@ clean:
        $(RM) $(ELCS)
 .PHONY: clean
 
+maintainer-clean: VER := 26
+maintainer-clean: MSG := Doc regeneration requires $(VER)+
 maintainer-clean: clean
+       $(BATCH) -eval '(if (< emacs-major-version $(VER)) (error "$(MSG)"))'
        $(RM) $(DOCS)
 .PHONY: maintainer-clean
 



reply via email to

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