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

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

[elpa] externals/gnat-compiler 178098364e: * ELPA.make: New file


From: Stephen Leake
Subject: [elpa] externals/gnat-compiler 178098364e: * ELPA.make: New file
Date: Sat, 5 Nov 2022 05:05:14 -0400 (EDT)

branch: externals/gnat-compiler
commit 178098364ea846067c82ef31f6f518e952e5a8bd
Author: Stephen Leake <stephen_leake@stephe-leake.org>
Commit: Stephen Leake <stephen_leake@stephe-leake.org>

    * ELPA.make: New file
---
 .gitignore |  2 ++
 ELPA.make  | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000..9850d0ff11
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+autoloads.el
+autoloads.el~
diff --git a/ELPA.make b/ELPA.make
new file mode 100644
index 0000000000..fe7fa41572
--- /dev/null
+++ b/ELPA.make
@@ -0,0 +1,34 @@
+# For compiling in elpa
+
+.PHONY : all force
+
+all : byte-compile autoloads
+
+ifeq ($(shell uname),Linux)
+EMACS_EXE ?= emacs
+else ifeq ($(shell uname),Darwin)
+EMACS_EXE ?= "/Applications/Emacs.app/Contents/MacOS/Emacs"
+else
+# windows
+# specify uniscribe to workaround weird Windows harfbuzz bug
+EMACS_EXE ?= emacs -xrm Emacs.fontBackend:uniscribe
+endif
+
+BYTE_COMPILE := "(progn (setq byte-compile-error-on-warn 
t)(batch-byte-compile))"
+byte-compile : byte-compile-clean
+       $(EMACS_EXE) -Q -batch -L . -L $(WISI) --eval $(BYTE_COMPILE) *.el
+
+byte-compile-clean :
+       rm -f *.elc
+
+autoloads : force
+       $(EMACS_EXE) -Q -batch --eval "(progn (setq generated-autoload-file 
(expand-file-name \"autoloads.el\"))(update-directory-autoloads \".\"))"
+
+# builds $(ELPA_ROOT)/archive-devel/*, from the last commit, _not_ the
+# current workspace Also checks copyright; run elpa/GNUMakefile
+# check/<pkg> first if added files.
+build-elpa : force
+       rm -rf $(ELPA_ROOT)/archive-devel
+       make -C $(ELPA_ROOT)/ build/gnat-compiler
+
+# end of file



reply via email to

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