aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog7
-rw-r--r--doc/Makefile.am10
-rw-r--r--doc/tools.texi2
-rw-r--r--doc/yat2m.c2
4 files changed, 13 insertions, 8 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 8811a8824..9dfcb86b4 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,10 @@
+2007-06-06 Werner Koch <[email protected]>
+
+ * Makefile.am (yat2m): Use a plain rule to build it for the sake
+ of cross-compiling.
+
+ * yat2m.c (finish_page): Init SECT to NULL.
+
2007-05-11 Werner Koch <[email protected]>
* gpgsm.texi (--export): Enhanced description.
diff --git a/doc/Makefile.am b/doc/Makefile.am
index feb3b7713..a3e019e95 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -28,13 +28,11 @@ EXTRA_DIST = DETAILS HACKING TRANSLATE OpenPGP KEYSERVER samplekeys.asc \
gnupg-card-architecture.pdf \
faq.raw FAQ faq.html gnupg7.texi \
opt-homedir.texi see-also-note.texi specify-user-id.texi \
- gpgv.texi texi.css $(examples)
+ gpgv.texi texi.css $(examples) yat2m.c
BUILT_SOURCES = gnupg-card-architecture.eps gnupg-card-architecture.png \
gnupg-card-architecture.pdf FAQ faq.html
-noinst_PROGRAMS = yat2m
-
info_TEXINFOS = gnupg.texi
dist_pkgdata_DATA = qualified.txt FAQ faq.html com-certs.pem
@@ -65,13 +63,13 @@ noinst_MANS = gnupg.7
watchgnupg_SOURCE = gnupg.texi
-CLEANFILES = faq.raw.xref
+CLEANFILES = faq.raw.xref yat2m
DISTCLEANFILES = gnupg.tmp gnupg.ops yat2m-stamp.tmp yat2m-stamp \
$(myman_pages) gnupg.7
-yat2m_SOURCES = yat2m.c
-
+yat2m: yat2m.c
+ $(CC_FOR_BUILD) -o $@ $(srcdir)/yat2m.c
.fig.png:
diff --git a/doc/tools.texi b/doc/tools.texi
index 4187293c6..cce773d9b 100644
--- a/doc/tools.texi
+++ b/doc/tools.texi
@@ -229,7 +229,7 @@ Update all configuration files with values taken from the global
configuration file (usually @file{/etc/gnupg/gpgconf.conf}).
@item --check-config [@var{filename}]
-Run a syntax check ion the global configuration file. If @var{filename}
+Run a syntax check on the global configuration file. If @var{filename}
is given, check that file instead.
@end table
diff --git a/doc/yat2m.c b/doc/yat2m.c
index e250db4d5..4ead165ae 100644
--- a/doc/yat2m.c
+++ b/doc/yat2m.c
@@ -755,7 +755,7 @@ static void
finish_page (void)
{
FILE *fp;
- section_buffer_t sect;
+ section_buffer_t sect = NULL;
int idx;
const char *s;
int i;