diff options
author | Robert Alessi <alessi@robertalessi.net> | 2020-07-05 09:36:26 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2020-07-05 09:36:26 +0200 |
commit | f83f63039b99b0e289fcb2202d998cc650225aa4 (patch) | |
tree | df56e584c323cb98621e3f8cbfa166873810d897 /Makefile | |
parent | 57cc9d33ec43a4eae4da5eaef4b8407a6b288521 (diff) | |
download | ekdosis-f83f63039b99b0e289fcb2202d998cc650225aa4.tar.gz |
adapted Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -11,7 +11,6 @@ exts := md html ins dtx el | |||
11 | findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)") | 11 | findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)") |
12 | 12 | ||
13 | all: sty $(NAME).pdf | 13 | all: sty $(NAME).pdf |
14 | # test -e README.txt && mv README.txt README || exit 0 | ||
15 | 14 | ||
16 | sty: clean | 15 | sty: clean |
17 | $(CMP) $(NAME).ins | 16 | $(CMP) $(NAME).ins |
@@ -72,16 +71,16 @@ local: uninst auctex | |||
72 | 71 | ||
73 | zip: all | 72 | zip: all |
74 | ln -sf . $(NAME) | 73 | ln -sf . $(NAME) |
75 | zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)/{README,$(NAME).{pdf,sty,lua,el}} | 74 | zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)/{README.md,$(NAME).{pdf,sty,lua,el}} |
76 | rm $(NAME) | 75 | rm $(NAME) |
77 | 76 | ||
78 | package: distclean all | 77 | package: distclean all |
79 | mkdir $(NAME)/ | 78 | mkdir $(NAME)/ |
80 | cp README *.dtx *.pdf $(NAME)/ | 79 | cp README.md *.dtx *.pdf $(NAME)/ |
81 | mkdir -p tex/lualatex/$(NAME)/ | 80 | mkdir -p tex/lualatex/$(NAME)/ |
82 | cp *.lua *.sty tex/lualatex/$(NAME)/ | 81 | cp *.lua *.sty tex/lualatex/$(NAME)/ |
83 | mkdir -p doc/lualatex/$(NAME)/ | 82 | mkdir -p doc/lualatex/$(NAME)/ |
84 | cp *.el *.pdf doc/lualatex/$(NAME)/ | 83 | cp README.md *.el *.pdf doc/lualatex/$(NAME)/ |
85 | mkdir -p source/lualatex/$(NAME)/ | 84 | mkdir -p source/lualatex/$(NAME)/ |
86 | cp Makefile *.dtx source/lualatex/$(NAME)/ | 85 | cp Makefile *.dtx source/lualatex/$(NAME)/ |
87 | zip -r $(NAME).tds.zip tex doc source | 86 | zip -r $(NAME).tds.zip tex doc source |