aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-06-22 01:04:38 +0530
committerArun Isaac2022-06-22 01:04:38 +0530
commit3b80ba2214970258768d78d1920312a53288a6cc (patch)
tree4a410a35ff7ef801fc0aaead1daae3f5eff6f3a8
parent38217ee5212cbb87e443cef1d3632878030bd87d (diff)
downloadthogai-3b80ba2214970258768d78d1920312a53288a6cc.tar.gz
thogai-3b80ba2214970258768d78d1920312a53288a6cc.tar.lz
thogai-3b80ba2214970258768d78d1920312a53288a6cc.zip
Add Makefile.
* Makefile: New file.
-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