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

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

[nongnu] elpa/forth-mode efa1f0a336 046/153: Build Emacs Lisp files.


From: ELPA Syncer
Subject: [nongnu] elpa/forth-mode efa1f0a336 046/153: Build Emacs Lisp files.
Date: Sat, 29 Jan 2022 08:02:15 -0500 (EST)

branch: elpa/forth-mode
commit efa1f0a336317682072c4a9be604730caa99bef9
Author: Lars Brinkhoff <lars@nocrew.org>
Commit: Lars Brinkhoff <lars@nocrew.org>

    Build Emacs Lisp files.
---
 .gitignore | 1 +
 Makefile   | 5 +++++
 build.el   | 6 ++++++
 3 files changed, 12 insertions(+)

diff --git a/.gitignore b/.gitignore
index 6302bc32b6..10442e336b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 *~
 *.elc
+autoloads.el
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..9b6a9c77f2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,5 @@
+all:
+       emacs -q --no-site-file --batch --load build.el
+
+clean:
+       rm -f autoloads.el *.elc
diff --git a/build.el b/build.el
new file mode 100644
index 0000000000..15976d9d9e
--- /dev/null
+++ b/build.el
@@ -0,0 +1,6 @@
+(let ((generated-autoload-file (concat default-directory "autoloads.el")))
+  (update-directory-autoloads "."))
+(load-file "autoloads.el")
+(add-to-list 'load-path ".")
+(let ((result (byte-recompile-directory "." 0)))
+  (kill-emacs (if (string-match "failed" result) 1 0)))



reply via email to

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