[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
main 9f84cd4c 2/2: Also generate loaddefs.el
From: |
Tassilo Horn |
Subject: |
main 9f84cd4c 2/2: Also generate loaddefs.el |
Date: |
Tue, 23 Apr 2024 03:49:06 -0400 (EDT) |
branch: main
commit 9f84cd4c0575ee7a41d6e89f1e48af75d270cb62
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
Also generate loaddefs.el
---
GNUmakefile | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index c9acd898..b5cec482 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,12 +1,8 @@
# Rules to generate the files that need to go into the ELPA package.
-# Files we need to auto-generate:
-# dir
-# auctex.info
-# preview-latex.info
+# Files we need to auto-generate for elpa:
# README
# ChangeLog
-# auctex.el (or auctex-pkg.el)?
# tex-site.el
# doc: preview-dtxdoc.texi
# doc: version.texi
@@ -43,10 +39,13 @@ ALL_GENERATED_FILES=$(MAIN_GENERATED_FILES) \
$(INFO_FILES)
# Generate & compile everything including the manuals below doc/.
-all: $(ALL_GENERATED_FILES) compile
+all: $(ALL_GENERATED_FILES) compile autoloads
compile: $(patsubst %.el,%.elc,$(wildcard *.el style/*.el))
+autoloads:
+ $(EMACS) -f loaddefs-generate-batch loaddefs.el .
+
%.elc: %.el
$(EMACS) -f batch-byte-compile $<
@@ -62,7 +61,9 @@ elpa: $(MAIN_GENERATED_FILES)
.PHONY: tex-site.el
clean:
- rm -f $(ALL_GENERATED_FILES) $(wildcard *.elc style/*.elc)
+ rm -f $(ALL_GENERATED_FILES) \
+ $(wildcard *.elc style/*.elc) \
+ loaddefs.el
# Copied&adapted from doc/Makefile.in.
MAKEINFO_PLAIN=$(MAKEINFO) -D rawfile --no-headers
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- main 9f84cd4c 2/2: Also generate loaddefs.el,
Tassilo Horn <=