aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2022-05-20 11:52:00 +0200
committerRobert Alessi <alessi@robertalessi.net>2022-05-20 11:52:00 +0200
commitbf7e0724b29764c3c08e85db7735919b4b2a9283 (patch)
treefc8e8c99d075caada0c762b3f91d0ca0f1944213 /Makefile
parent78be897f61f9411d0bca9009add976e9c7f53daa (diff)
downloadekdosis-bf7e0724b29764c3c08e85db7735919b4b2a9283.tar.gz
adapted Makefile to handle for TDS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ff0bc36..87aa1a7 100644
--- a/Makefile
+++ b/Makefile
@@ -81,7 +81,7 @@ inst: uninst auctex all
81 cp $(NAME).dtx $(UTREE)/source/lualatex/$(NAME) 81 cp $(NAME).dtx $(UTREE)/source/lualatex/$(NAME)
82 cp $(NAME).sty $(UTREE)/tex/lualatex/$(NAME) 82 cp $(NAME).sty $(UTREE)/tex/lualatex/$(NAME)
83 cp $(NAME).lua $(UTREE)/tex/lualatex/$(NAME) 83 cp $(NAME).lua $(UTREE)/tex/lualatex/$(NAME)
84 cp $(NAME).pdf $(UTREE)/doc/lualatex/$(NAME) 84 cp $(NAME).pdf $(files) $(UTREE)/doc/lualatex/$(NAME)
85 cp -r samples/ $(UTREE)/doc/lualatex/$(NAME) 85 cp -r samples/ $(UTREE)/doc/lualatex/$(NAME)
86 @ echo "Installation complete. Happy TeXing!" 86 @ echo "Installation complete. Happy TeXing!"
87 87
@@ -90,14 +90,14 @@ local: uninst auctex
90 mkdir -p $(UTREE)/{tex,source,doc}/lualatex/$(NAME) 90 mkdir -p $(UTREE)/{tex,source,doc}/lualatex/$(NAME)
91 cp $(NAME).sty $(UTREE)/tex/lualatex/$(NAME) 91 cp $(NAME).sty $(UTREE)/tex/lualatex/$(NAME)
92 cp $(NAME).lua $(UTREE)/tex/lualatex/$(NAME) 92 cp $(NAME).lua $(UTREE)/tex/lualatex/$(NAME)
93 if [ -e "$(NAME).pdf" ]; then cp $(NAME).pdf $(UTREE)/doc/lualatex/$(NAME) &&\ 93 if [ -e "$(NAME).pdf" ]; then cp $(NAME).pdf $(files) $(UTREE)/doc/lualatex/$(NAME) &&\
94 cp -r $(SAMPLES)/ $(UTREE)/doc/lualatex/$(NAME); fi 94 cp -r $(SAMPLES)/ $(UTREE)/doc/lualatex/$(NAME); fi
95 95
96install: all 96install: all
97 sudo mkdir -p $(LOCAL)/{tex,source,doc}/latex/$(NAME) 97 sudo mkdir -p $(LOCAL)/{tex,source,doc}/latex/$(NAME)
98 sudo cp $(NAME).dtx $(LOCAL)/source/latex/$(NAME) 98 sudo cp $(NAME).dtx $(LOCAL)/source/latex/$(NAME)
99 sudo cp $(NAME).sty $(LOCAL)/tex/latex/$(NAME) 99 sudo cp $(NAME).sty $(LOCAL)/tex/latex/$(NAME)
100 sudo cp $(NAME).pdf $(LOCAL)/doc/latex/$(NAME) 100 sudo cp $(NAME).pdf $(files) $(LOCAL)/doc/latex/$(NAME)
101 cp -r $(SAMPLES)/ $(LOCAL)/doc/latex/$(NAME) 101 cp -r $(SAMPLES)/ $(LOCAL)/doc/latex/$(NAME)
102 102
103uninstall: 103uninstall:
@@ -105,7 +105,7 @@ uninstall:
105 105
106zip: all 106zip: all
107 ln -sf . $(NAME) 107 ln -sf . $(NAME)
108 zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)/{samples,README.md,$(NAME).{pdf,sty,lua,el}} 108 zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)/{$(files),samples,README.md,$(NAME).{pdf,sty,lua,el}}
109 rm $(NAME) 109 rm $(NAME)
110 110
111package: distclean all 111package: distclean all
@@ -115,7 +115,7 @@ package: distclean all
115 mkdir -p tex/lualatex/$(NAME)/ 115 mkdir -p tex/lualatex/$(NAME)/
116 cp *.lua *.sty tex/lualatex/$(NAME)/ 116 cp *.lua *.sty tex/lualatex/$(NAME)/
117 mkdir -p doc/lualatex/$(NAME)/ 117 mkdir -p doc/lualatex/$(NAME)/
118 cp README.md *.el *.pdf doc/lualatex/$(NAME)/ 118 cp $(files) README.md *.el *.pdf doc/lualatex/$(NAME)/
119 cp -r samples/ doc/lualatex/$(NAME)/ 119 cp -r samples/ doc/lualatex/$(NAME)/
120 mkdir -p source/lualatex/$(NAME)/ 120 mkdir -p source/lualatex/$(NAME)/
121 cp Makefile *.ins *.dtx source/lualatex/$(NAME)/ 121 cp Makefile *.ins *.dtx source/lualatex/$(NAME)/