summaryrefslogtreecommitdiff
path: root/support/ultratex/lisp/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/ultratex/lisp/Makefile
Initial commit
Diffstat (limited to 'support/ultratex/lisp/Makefile')
-rw-r--r--support/ultratex/lisp/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/support/ultratex/lisp/Makefile b/support/ultratex/lisp/Makefile
new file mode 100644
index 0000000000..045723be84
--- /dev/null
+++ b/support/ultratex/lisp/Makefile
@@ -0,0 +1,31 @@
+# 'make most' byte-compiles the main el files: aucify, light, ultex,
+# ultex-setup
+# 'make extras' byte-compiles font-latex
+# 'make all' byte-compiles all of these
+EMACS = emacs
+RM = rm -f
+FLAGS = -batch -l docomp.el -f batch-byte-compile
+EXTRA_FLAGS = -batch -l docomp.el -f ultex-byte-compile-quietly
+
+SOURCES = aucify.el light.el ultex.el ultex-setup.el ultex-cus.el
+# You might run into problems when byte-compiling tex-buf.el if
+# Emacs can't find the custom library. This shouldn't be a problem
+# with GNU Emacs 20.1, XEmacs 19.15 (?) or any version of Emacs in
+# which the custom package is in the default load-path.
+EXTRAS = tex-buf.el font-latex.el
+# Contrariwise, "font-lock support for TeX is built into GNU Emacs 20.1,
+# so font-latex.el is no longer needed."
+TEX-BUF = tex-buf.el
+
+all: most extras
+
+most:
+ $(EMACS) $(FLAGS) $(SOURCES)
+
+extras:
+ $(EMACS) $(EXTRA_FLAGS) $(EXTRAS)
+
+clean:
+ $(RM) *.elc *~
+
+distclean: clean