Permalink
Browse files

Tweak readme.xml to work on new Fedora.

Makefile: rm broken objects of 'make doc' target.
testo & wintesto: test wfff.
  • Loading branch information...
robertl
robertl committed Mar 29, 2006
1 parent ea859da commit 31d97fc3d8f7f06023f75eb200e48c192ad3e5c5
Showing with 24 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +16 −0 mingw/wintesto.cmd
  3. +1 −1 readme.xml
  4. +6 −0 testo
View
@@ -134,7 +134,7 @@ dep:
readme.html: readme.xml
java com.icl.saxon.StyleSheet $< \
/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl \
- html.stylesheet="http://www.gpsbabel.org/style3.css" > $@
+ html.stylesheet="http://www.gpsbabel.org/style3.css" > $@ || rm $@
cp readme.html $(WEB)/readme.xhtml
tools/mkcapabilities
View
@@ -312,6 +312,22 @@ DEL %TMPDIR%\topo.mxf %TMPDIR%\tpg.mxf %TMPDIR%\geo.tpg
@echo.
CALL :COMPARE %TMPDIR%\tpg.mxf %TMPDIR%\topo.mxf
+REM TPO (NG Topo!) file format
+REM This is hard to test as the datum conversions create minute
+REM inconsistencies in the coordinates. We have four reference files:
+REM tpo-sample1.tpo, tpo-sample1.gpx, tpo-sample2.gpx, and
+REM tpo-sample2.tpo. These are used to check the conversion to/from
+REM TPO format.
+DEL %TMPDIR%\tpo-sample1.gpx %TMPDIR%\tpo-sample2.tpo
+@echo on
+@echo Testing...
+%PNAME% -t -i tpo -f reference\track\tpo-sample1.tpo -o gpx -F %TMPDIR%\tpo-sample1.gpx
+@echo off
+@echo.
+CALL :COMPARE %TMPDIR%\tpo-sample1.gpx reference\track\tpo-sample1.gpx
+REM ${PNAME} -t -i gpx -f reference/track/tpo-sample2.gpx -o tpo -F ${TMPDIR}/tpo-sample2.tpo
+REM bincompare ${TMPDIR}/tpo-sample2.tpo reference/track/tpo-sample2.tpo
+
REM OZI (OziExplorer 1.1) file format
DEL %TMPDIR%\oz.wpt %TMPDIR%\ozi.wpt
@echo on
View
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book
- SYSTEM "/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-26/docbookx.dtd">
+ SYSTEM "/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-30/docbookx.dtd">
<book>
<bookinfo>
View
6 testo
@@ -992,4 +992,10 @@ compare ${TMPDIR}/unicsv.gpx reference/unicsv.gpx
${PNAME} -i nmea -f reference/track/nmea -o gpx -F ${TMPDIR}/nmea.gpx
compare ${TMPDIR}/nmea.gpx reference/track/nmea.gpx
+#
+# Wfff.
+#
+${PNAME} -i wfff -f reference/wfff.xml -o gpsutil -F ${TMPDIR}/wfff.gpu
+compare ${TMPDIR}/wfff.gpu reference/wfff.gpu
+
exit 0

0 comments on commit 31d97fc

Please sign in to comment.