diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -88,7 +88,18 @@ local: uninst auctex | |||
88 | mkdir -p $(UTREE)/{tex,source,doc}/lualatex/$(NAME) | 88 | mkdir -p $(UTREE)/{tex,source,doc}/lualatex/$(NAME) |
89 | cp $(NAME).sty $(UTREE)/tex/lualatex/$(NAME) | 89 | cp $(NAME).sty $(UTREE)/tex/lualatex/$(NAME) |
90 | cp $(NAME).lua $(UTREE)/tex/lualatex/$(NAME) | 90 | cp $(NAME).lua $(UTREE)/tex/lualatex/$(NAME) |
91 | if [ -e "$(NAME).pdf" ]; then cp $(NAME).pdf $(UTREE)/doc/lualatex/$(NAME); fi | 91 | if [ -e "$(NAME).pdf" ]; then cp $(NAME).pdf $(UTREE)/doc/lualatex/$(NAME) &&\ |
92 | cp -r $(SAMPLES)/ $(UTREE)/doc/lualatex/$(NAME); fi | ||
93 | |||
94 | install: all | ||
95 | sudo mkdir -p $(LOCAL)/{tex,source,doc}/latex/$(NAME) | ||
96 | sudo cp $(NAME).dtx $(LOCAL)/source/latex/$(NAME) | ||
97 | sudo cp $(NAME).sty $(LOCAL)/tex/latex/$(NAME) | ||
98 | sudo cp $(NAME).pdf $(LOCAL)/doc/latex/$(NAME) | ||
99 | cp -r $(SAMPLES)/ $(LOCAL)/doc/latex/$(NAME) | ||
100 | |||
101 | uninstall: | ||
102 | rm -rf $(LOCAL)/{tex,source,doc}/latex/$(NAME) | ||
92 | 103 | ||
93 | zip: all | 104 | zip: all |
94 | ln -sf . $(NAME) | 105 | ln -sf . $(NAME) |