diff options
author | Robert Alessi <alessi@robertalessi.net> | 2023-03-25 09:57:44 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2023-03-25 09:57:44 +0100 |
commit | e8aa4f2844f6348cccb4cf88e7a26dfb528bd255 (patch) | |
tree | 4d1168646aba32d06c4eef4239d8a2decc5aa8c5 | |
parent | 77d8fd075d4d89667d8c568a306e82a72ff1c702 (diff) | |
download | arabluatex-e8aa4f2844f6348cccb4cf88e7a26dfb528bd255.tar.gz |
.el style files have to go into /home/robert/.emacs.d/auctex/style
-rw-r--r-- | makefile | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -29,20 +29,20 @@ local: clean sty | |||
29 | mkdir -p $(TEXMFDIR)/tex/lualatex/arabluatex; \ | 29 | mkdir -p $(TEXMFDIR)/tex/lualatex/arabluatex; \ |
30 | fi | 30 | fi |
31 | cp $(pkg)*.{sty,lua} $(TEXMFDIR)/tex/lualatex/arabluatex | 31 | cp $(pkg)*.{sty,lua} $(TEXMFDIR)/tex/lualatex/arabluatex |
32 | if [ ! -d "$(HOMEDIR)/.emacs.d/auctex/auto" ]; then \ | 32 | if [ ! -d "$(HOMEDIR)/.emacs.d/auctex/style" ]; then \ |
33 | mkdir -p $(HOMEDIR)/.emacs.d/auctex/auto; \ | 33 | mkdir -p $(HOMEDIR)/.emacs.d/auctex/style; \ |
34 | fi | 34 | fi |
35 | cp $(pkg)*.el $(HOMEDIR)/.emacs.d/auctex/auto | 35 | cp $(pkg)*.el $(HOMEDIR)/.emacs.d/auctex/style |
36 | 36 | ||
37 | inst: doc | 37 | inst: doc |
38 | if [ ! -d "$(TEXMFDIR)/tex/lualatex/arabluatex" ]; then \ | 38 | if [ ! -d "$(TEXMFDIR)/tex/lualatex/arabluatex" ]; then \ |
39 | mkdir -p $(TEXMFDIR)/tex/lualatex/arabluatex; \ | 39 | mkdir -p $(TEXMFDIR)/tex/lualatex/arabluatex; \ |
40 | fi | 40 | fi |
41 | cp $(pkg)*.{sty,lua} $(TEXMFDIR)/tex/lualatex/arabluatex | 41 | cp $(pkg)*.{sty,lua} $(TEXMFDIR)/tex/lualatex/arabluatex |
42 | if [ ! -d "$(HOMEDIR)/.emacs.d/auctex/auto" ]; then \ | 42 | if [ ! -d "$(HOMEDIR)/.emacs.d/auctex/style" ]; then \ |
43 | mkdir -p $(HOMEDIR)/.emacs.d/auctex/auto; \ | 43 | mkdir -p $(HOMEDIR)/.emacs.d/auctex/style; \ |
44 | fi | 44 | fi |
45 | cp $(pkg)*.el $(HOMEDIR)/.emacs.d/auctex/auto | 45 | cp $(pkg)*.el $(HOMEDIR)/.emacs.d/auctex/style |
46 | if [ ! -d "$(TEXMFDIR)/doc/lualatex/arabluatex" ]; then \ | 46 | if [ ! -d "$(TEXMFDIR)/doc/lualatex/arabluatex" ]; then \ |
47 | mkdir -p $(TEXMFDIR)/doc/lualatex/arabluatex; \ | 47 | mkdir -p $(TEXMFDIR)/doc/lualatex/arabluatex; \ |
48 | fi | 48 | fi |
@@ -50,10 +50,10 @@ inst: doc | |||
50 | cp -r samples/ $(TEXMFDIR)/doc/lualatex/arabluatex | 50 | cp -r samples/ $(TEXMFDIR)/doc/lualatex/arabluatex |
51 | 51 | ||
52 | auctex: clean | 52 | auctex: clean |
53 | if [ ! -d "$(HOMEDIR)/.emacs.d/auctex/auto" ]; then \ | 53 | if [ ! -d "$(HOMEDIR)/.emacs.d/auctex/style" ]; then \ |
54 | mkdir -p $(HOMEDIR)/.emacs.d/auctex/auto; \ | 54 | mkdir -p $(HOMEDIR)/.emacs.d/auctex/style; \ |
55 | fi | 55 | fi |
56 | cp $(pkg)*.el $(HOMEDIR)/.emacs.d/auctex/auto | 56 | cp $(pkg)*.el $(HOMEDIR)/.emacs.d/auctex/style |
57 | 57 | ||
58 | zip: all | 58 | zip: all |
59 | ln -sf . $(pkg) | 59 | ln -sf . $(pkg) |
@@ -79,7 +79,7 @@ package: clean all | |||
79 | 79 | ||
80 | clean: | 80 | clean: |
81 | rm -rf $(TEXMFDIR)/{tex,doc}/lualatex/arabluatex/ | 81 | rm -rf $(TEXMFDIR)/{tex,doc}/lualatex/arabluatex/ |
82 | rm -rf $(HOMEDIR)/.emacs.d/auctex/auto/arabluatex*.{el,elc} | 82 | rm -rf $(HOMEDIR)/.emacs.d/auctex/style/arabluatex*.{el,elc} |
83 | rm -rf tex/ doc/ source/ auto/ | 83 | rm -rf tex/ doc/ source/ auto/ |
84 | rm -rf arabluatex/ | 84 | rm -rf arabluatex/ |
85 | rm -rf saved/ TMP/ _minted-arabluatex/ | 85 | rm -rf saved/ TMP/ _minted-arabluatex/ |