diff --git a/data/Makefile.am b/data/Makefile.am index e3c9689..d057fe6 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,2 +1,2 @@ pkgdata_DATA = *.xsl ms_odt.odt odt.odt sermon.dtd -EXTRA_DIST = *.xsl ms_odt.odt sermon.dtd +EXTRA_DIST = *.xsl ms_odt.odt odt.odt sermon.dtd diff --git a/src/Makefile.am b/src/Makefile.am index c0c4718..f8fd59b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,16 +5,27 @@ BUILT_SOURCES = sermon_lexer.c \ sermon_parser.h AM_YFLAGS = -d --location sermon_SOURCES = citations.c \ + citations.h \ format.c \ + format.h \ main.c \ + meta.h \ odt.c \ + odt.h \ options.c \ + options.h \ + queue.h \ + sermon.h \ sermon_lexer.l \ sermon_parser.y \ sermon_util.c \ + stack.h \ utf8.c \ + utf8.h \ xml.c \ - xslt.c + xml.h \ + xslt.c \ + xslt.h sermon_LDADD = ${libxml2_LIBS} ${libxslt_LIBS} ${libbsd_LIBS} CLEANFILES = sermon_lexer.c \ sermon_parser.c \ diff --git a/src/odt.c b/src/odt.c index 746d8de..cda5ece 100644 --- a/src/odt.c +++ b/src/odt.c @@ -121,7 +121,7 @@ constructODT(const char* const outputFilename, const char* const templateFilenam int i; /* create temporary workspace */ - strlcpy(tempDir, "/tmp/sermon.XXXXXXXXXX", sizeof(tempDir)); + strcpy(tempDir, "/tmp/sermon.XXXXXXXXXX"); if (mkdtemp(tempDir) == NULL) { perror("mkdtemp"); exit(1);