diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 | ||
96 | install: all | 96 | install: 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 | ||
103 | uninstall: | 103 | uninstall: |
@@ -105,7 +105,7 @@ uninstall: | |||
105 | 105 | ||
106 | zip: all | 106 | zip: 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 | ||
111 | package: distclean all | 111 | package: 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)/ |