projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Update for EasyTimer
[fw/altos]
/
doc
/
Makefile.am
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index 2e9e652666d2249dd16329f13408ef99e7ce0bec..1238ea18e9abca6aa7aa0bcc422d77523349fc5d 100644
(file)
--- a/
doc/Makefile.am
+++ b/
doc/Makefile.am
@@
-67,6
+67,7
@@
IMAGES=\
easymega-v1.0-top.jpg \
easymini.svg \
easymini-top.jpg \
easymega-v1.0-top.jpg \
easymini.svg \
easymini-top.jpg \
+ easytimer.jpg \
fire-igniter.png \
graph-configure.png \
graph-map.png \
fire-igniter.png \
graph-configure.png \
graph-map.png \
@@
-142,6
+143,7
@@
INC_FILES=\
easymini-device.inc \
telemega.inc \
easymega.inc \
easymini-device.inc \
telemega.inc \
easymega.inc \
+ easytimer.inc \
installation.inc \
using-am-products.inc \
updating-firmware.inc \
installation.inc \
using-am-products.inc \
updating-firmware.inc \
@@
-279,6
+281,8
@@
DOC=$(HTML) $(PDF) $(IMAGES) $(MAP_SVG_FILES) $(STYLESHEET)
SUFFIXES = .dot .svg .inc .txt .adoc .pdf .html
SUFFIXES = .dot .svg .inc .txt .adoc .pdf .html
+ATTRIBUTES=--attribute="revdate=$(DOC_DATE)" --attribute="version=$(VERSION)"
+
.dot.svg:
dot -Tsvg -o$@ $*.dot
.dot.svg:
dot -Tsvg -o$@ $*.dot
@@
-289,10
+293,10
@@
SUFFIXES = .dot .svg .inc .txt .adoc .pdf .html
sed -e 's/^[ ]*//' -e 's/^\\//' $*.inc > $@
.adoc.html:
sed -e 's/^[ ]*//' -e 's/^\\//' $*.inc > $@
.adoc.html:
- asciidoctor -b html5 $*.adoc
+ asciidoctor
$(ATTRIBUTES)
-b html5 $*.adoc
.adoc.pdf:
.adoc.pdf:
- asciidoctor-pdf $*.adoc
+ asciidoctor-pdf $
(ATTRIBUTES) $
*.adoc
all: $(HTML) $(PDF)
all: $(HTML) $(PDF)