From bf7e0724b29764c3c08e85db7735919b4b2a9283 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Fri, 20 May 2022 11:52:00 +0200 Subject: adapted Makefile to handle for TDS --- Makefile | 10 +++++----- 1 file 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 cp $(NAME).dtx $(UTREE)/source/lualatex/$(NAME) cp $(NAME).sty $(UTREE)/tex/lualatex/$(NAME) cp $(NAME).lua $(UTREE)/tex/lualatex/$(NAME) - cp $(NAME).pdf $(UTREE)/doc/lualatex/$(NAME) + cp $(NAME).pdf $(files) $(UTREE)/doc/lualatex/$(NAME) cp -r samples/ $(UTREE)/doc/lualatex/$(NAME) @ echo "Installation complete. Happy TeXing!" @@ -90,14 +90,14 @@ local: uninst auctex mkdir -p $(UTREE)/{tex,source,doc}/lualatex/$(NAME) cp $(NAME).sty $(UTREE)/tex/lualatex/$(NAME) cp $(NAME).lua $(UTREE)/tex/lualatex/$(NAME) - if [ -e "$(NAME).pdf" ]; then cp $(NAME).pdf $(UTREE)/doc/lualatex/$(NAME) &&\ + if [ -e "$(NAME).pdf" ]; then cp $(NAME).pdf $(files) $(UTREE)/doc/lualatex/$(NAME) &&\ cp -r $(SAMPLES)/ $(UTREE)/doc/lualatex/$(NAME); fi install: all sudo mkdir -p $(LOCAL)/{tex,source,doc}/latex/$(NAME) sudo cp $(NAME).dtx $(LOCAL)/source/latex/$(NAME) sudo cp $(NAME).sty $(LOCAL)/tex/latex/$(NAME) - sudo cp $(NAME).pdf $(LOCAL)/doc/latex/$(NAME) + sudo cp $(NAME).pdf $(files) $(LOCAL)/doc/latex/$(NAME) cp -r $(SAMPLES)/ $(LOCAL)/doc/latex/$(NAME) uninstall: @@ -105,7 +105,7 @@ uninstall: zip: all ln -sf . $(NAME) - zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)/{samples,README.md,$(NAME).{pdf,sty,lua,el}} + zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)/{$(files),samples,README.md,$(NAME).{pdf,sty,lua,el}} rm $(NAME) package: distclean all @@ -115,7 +115,7 @@ package: distclean all mkdir -p tex/lualatex/$(NAME)/ cp *.lua *.sty tex/lualatex/$(NAME)/ mkdir -p doc/lualatex/$(NAME)/ - cp README.md *.el *.pdf doc/lualatex/$(NAME)/ + cp $(files) README.md *.el *.pdf doc/lualatex/$(NAME)/ cp -r samples/ doc/lualatex/$(NAME)/ mkdir -p source/lualatex/$(NAME)/ cp Makefile *.ins *.dtx source/lualatex/$(NAME)/ -- cgit v1.2.3