aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2023-03-25 09:57:44 +0100
committerRobert Alessi <alessi@robertalessi.net>2023-03-25 09:57:44 +0100
commite8aa4f2844f6348cccb4cf88e7a26dfb528bd255 (patch)
tree4d1168646aba32d06c4eef4239d8a2decc5aa8c5 /makefile
parent77d8fd075d4d89667d8c568a306e82a72ff1c702 (diff)
downloadarabluatex-e8aa4f2844f6348cccb4cf88e7a26dfb528bd255.tar.gz
.el style files have to go into /home/robert/.emacs.d/auctex/style
Diffstat (limited to 'makefile')
-rw-r--r--makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/makefile b/makefile
index 612b591..d88512f 100644
--- a/makefile
+++ b/makefile
@@ -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
37inst: doc 37inst: 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
52auctex: clean 52auctex: 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
58zip: all 58zip: all
59 ln -sf . $(pkg) 59 ln -sf . $(pkg)
@@ -79,7 +79,7 @@ package: clean all
79 79
80clean: 80clean:
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/