aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2020-12-17 18:34:27 +0100
committerRobert Alessi <alessi@robertalessi.net>2020-12-17 18:34:27 +0100
commit5f4930820d67ab21baafc3438f226bd91e1e9b82 (patch)
tree33c5c4ec763fa387b7f8fdf9ceaf7d57dce41a0b /makefile
parentc299e93f748ea4c5fd9c13bd2e68d416665b601b (diff)
downloadoldstandard-5f4930820d67ab21baafc3438f226bd91e1e9b82.tar.gz
updated FONTLOG.txt
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefile b/makefile
index 5e3e571..01482f8 100644
--- a/makefile
+++ b/makefile
@@ -26,12 +26,18 @@ local:
26 @echo "Installing latest OldStandard .otf files in $(LOCALFONTDIR)..." 26 @echo "Installing latest OldStandard .otf files in $(LOCALFONTDIR)..."
27 cp otf/OldStandard-*.otf $(LOCALFONTDIR)/ 27 cp otf/OldStandard-*.otf $(LOCALFONTDIR)/
28 luaotfload-tool --update 28 luaotfload-tool --update
29 @echo "Installing .fontspec files..."
30 if [ ! -d "$(TEXMFDIR)/tex/latex/fontspec" ]; then \
31 mkdir -p $(TEXMFDIR)/tex/latex/fontspec; \
32 fi
33 cp fontspec/OldStandard.fontspec $(TEXMFDIR)/tex/latex/fontspec
29 @echo "Done." 34 @echo "Done."
30 35
31package: doc 36package: doc
32 mkdir $(pkg)-$(ver) 37 mkdir $(pkg)-$(ver)
33 cp *.{txt,md,lua,tex,pdf} $(pkg)-$(ver) 38 cp *.{txt,md,lua,tex,pdf} $(pkg)-$(ver)
34 cp otf/*.otf $(pkg)-$(ver) 39 cp otf/*.otf $(pkg)-$(ver)
40 cp fontspec/*.fontspec $(pkg)-$(ver)
35 tar czf $(pkg)-$(ver).tar.gz $(pkg)-$(ver) 41 tar czf $(pkg)-$(ver).tar.gz $(pkg)-$(ver)
36 @echo "$(pkg)-$(ver).tar.gz has been created." 42 @echo "$(pkg)-$(ver).tar.gz has been created."
37 43
@@ -39,6 +45,8 @@ clean:
39 @echo "Removing OldStandard .otf files from $(LOCALFONTDIR)..." 45 @echo "Removing OldStandard .otf files from $(LOCALFONTDIR)..."
40 rm -f $(LOCALFONTDIR)/OldStandard-*.otf 46 rm -f $(LOCALFONTDIR)/OldStandard-*.otf
41 luaotfload-tool --update 47 luaotfload-tool --update
48 @echo "Removing .fontspec files from local texmf dir..."
49 rm -f $(TEXMFDIR)/tex/latex/fontspec/OldStandard.fontspec
42 git clean -df 50 git clean -df
43 pandoc README.md -o about.html 51 pandoc README.md -o about.html
44 @echo "Done." 52 @echo "Done."