aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c96693c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,34 @@
+# thogai.el --- Stenotyping software
+
+# Stenotyping software for Emacs
+# Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
+
+# This file is part of thogai.
+
+# thogai is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# thogai is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with thogai. If not, see <http://www.gnu.org/licenses/>.
+
+EMACS = emacs
+PYTHON = python3
+
+.DELETE_ON_ERROR:
+
+.PHONY: build clean
+build: thogai-english-orthography.el
+ $(EMACS) -Q --batch -L . --eval="(progn (setq byte-compile-debug t byte-compile-error-on-warn t) (byte-recompile-directory \".\" 0))"
+
+thogai-english-orthography.el: english-orthography.py
+ $(PYTHON) $< $(PLOVER_SOURCE) > $@
+
+clean:
+ rm -vf thogai-english-orthography.el *.elc