blob: 51ead309ef8a76a0f1c1f59e30fbbd853fe694a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# This builds the dependent parts of the website files. It's a bit of
# a kluge at the moment; it really ought to be generated by autoconf, in
# case xmlto is not available but xsltproc is.
%.html: ../%.xml
xmlto xhtml-nochunks $<
XML = \
gpsd.xml \
gps.xml \
libgps.xml \
libgpsmm.xml \
libgpsd.xml \
gpsmon.xml \
gpsdecode.xml \
gpsprof.xml \
gpsfake.xml \
gpsctl.xml \
gpscat.xml \
gpspipe.xml \
rtcm-104.xml \
srec.xml
all: html sums
html: index.html hardware.html writing-a-driver.html gypsy.html AIVDM.html $(XML:.xml=.html) protocol-evolution.html protocol-transition.html
AIVDM.html: AIVDM.txt
asciidoc -a toc AIVDM.txt
protocol-evolution.html: protocol-evolution.txt
asciidoc -a toc protocol-evolution.txt
protocol-transition.html: protocol-transition.txt
asciidoc -a toc protocol-transition.txt
writing-a-driver.html: writing-a-driver.xml
xmlto xhtml-nochunks writing-a-driver.xml
index.html: index.html.in
sed -e "/@DATE@/s//`date '+%B %d, %Y'`/" <index.html.in >index.html
hardware.html: hardware-head.html ../gpscap.ini hardware-tail.html
(cat hardware-head.html; (cd ..; python gpscap.py); cat hardware-tail.html) >hardware.html
sums:
sha1sum `find vendor-docs -type f -name "*.pdf" -print` >checksums
clean:
rm -f $(XML:.xml=.html) hardware.html protocol-evolution.html protocol-transition.html writing-a-driver.html *~
|