diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -54,6 +54,11 @@ auctex: clean | |||
54 | fi | 54 | fi |
55 | cp $(pkg)*.el $(HOMEDIR)/.emacs.d/auctex/auto | 55 | cp $(pkg)*.el $(HOMEDIR)/.emacs.d/auctex/auto |
56 | 56 | ||
57 | zip: all | ||
58 | ln -sf . $(pkg) | ||
59 | zip -Drq $(PWD)/$(pkg)-$(ver).zip $(pkg)/{samples,README.md,$(pkg)*.{pdf,sty,lua,el}} | ||
60 | rm $(pkg) | ||
61 | |||
57 | package: clean all | 62 | package: clean all |
58 | mkdir -p arabluatex/samples/ | 63 | mkdir -p arabluatex/samples/ |
59 | cp *.{lua,ins,dtx,md,pdf} makefile README.tex arabluatex/ # .bib is in dtx | 64 | cp *.{lua,ins,dtx,md,pdf} makefile README.tex arabluatex/ # .bib is in dtx |
@@ -83,4 +88,4 @@ clean: | |||
83 | pandoc -s README.tex -o README.md && sed -i 's/{#.*}//g' README.md | 88 | pandoc -s README.tex -o README.md && sed -i 's/{#.*}//g' README.md |
84 | pandoc -s README.tex -o about.html | 89 | pandoc -s README.tex -o about.html |
85 | 90 | ||
86 | .PHONY: sty doc all local inst auctex package clean | 91 | .PHONY: sty doc all local inst auctex zip package clean |