summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-11-01 04:18:34 -0800
committerKeith Packard <keithp@keithp.com>2015-11-01 06:02:14 -0800
commitf2816b305fc9e18a1190e392d43ff489936f10f0 (patch)
tree7149621ceeb38f1a3169bdbe9dc72c077639e18a /doc/Makefile
parent5b782c8f45ed6c34ed0e7f1aff6ac298c9a879ff (diff)
doc: Switch to free fonts. Publish fonts with docs.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile20
1 files changed, 17 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 29d3c428..0b66a1d1 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -174,6 +174,16 @@ FOP_STYLE=am-fo.xsl
FOP_XCONF=fop.xconf
STYLESHEET=am.css
+FONTS=\
+ fonts/DejaVuSansMono-BoldOblique.ttf \
+ fonts/DejaVuSansMono-Bold.ttf \
+ fonts/DejaVuSansMono-Oblique.ttf \
+ fonts/DejaVuSansMono.ttf \
+ fonts/OpenSans-Light.ttf \
+ fonts/OpenSans-LightItalic.ttf \
+ fonts/OpenSans-Semibold.ttf \
+ fonts/OpenSans-SemiboldItalic.ttf
+
TEMPLATES_TMPL=titlepage.templates.tmpl
TEMPLATES_XSL=$(TEMPLATES_TMPL:.tmpl=.xsl)
@@ -212,16 +222,20 @@ micropeak.pdf micropeak.html: micropeak-docinfo.xml $(MICROPEAK_RAW_FILES) $(IMA
install: all
-publish: $(DOC)
+publish: $(DOC) $(FONTS)
cp $(DOC) /home/bdale/web/altusmetrum/AltOS/doc/
+ mkdir -p /home/bdale/web/altusmetrum/AltOS/doc/fonts/
+ cp $(FONTS) /home/bdale/web/altusmetrum/AltOS/doc/fonts/
(cd /home/bdale/web/altusmetrum ; \
git add /home/bdale/web/altusmetrum/AltOS/doc/* ; \
+ git add /home/bdale/web/altusmetrum/AltOS/doc/fonts/* ; \
echo "update docs" | \
- git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* ; \
+ git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* /home/bdale/web/altusmetrum/AltOS/doc/fonts/* ; \
git push)
-publish-keithp: $(DOC)
+publish-keithp: $(DOC) $(FONTS)
scp -p $(DOC) keithp.com:~keithp/public_html/altos
+ scp -p $(FONTS) keithp.com:~keithp/public_html/altos/fonts
clean:
rm -f $(HTML) $(PDF) $(TEMPLATES_XSL) $(RAW_FILES) $(TELEGPS_RAW_FILES) $(MICROPEAK_RAW_FILES)