diff options
author | Narayana Pattipati <narayana.pattipati@wipro.com> | 2002-09-17 21:50:47 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@src.gnome.org> | 2002-09-17 21:50:47 +0000 |
commit | a6aad832d7f830228b851dac41ad1d37a7f0ce1b (patch) | |
tree | 28e96091c2cbb92efc44d7cfde75033401827d94 | |
parent | 0fb4cf5a555499f1b9172b9f3380d75a3bafd9ba (diff) | |
download | yelp-a6aad832d7f830228b851dac41ad1d37a7f0ce1b.tar.gz |
added an error message.
2002-09-17 Narayana Pattipati <narayana.pattipati@wipro.com>
* src/yelp-pregenerate.c (main): added an error message.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/yelp-pregenerate.c | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2002-09-17 Narayana Pattipati <narayana.pattipati@wipro.com> + + * src/yelp-pregenerate.c (main): added an error message. + 2002-09-16 Sander Vesik <sander.vesik@sun.com> * stylesheets/yelp-customization.xsl: diff --git a/src/yelp-pregenerate.c b/src/yelp-pregenerate.c index 70608940..f9c53b42 100644 --- a/src/yelp-pregenerate.c +++ b/src/yelp-pregenerate.c @@ -59,7 +59,6 @@ static GHashTable *seriesid_hash = NULL; static GHashTable *docid_hash = NULL; static GList *xml_list = NULL; -#define YELP_DB2HTML BINDIR"/yelp-db2html" #define BUFFER_SIZE 16384 @@ -174,7 +173,9 @@ main (gint argc, gchar **argv) if (html_data) { yelp_pregenerate_write_to_html (xml_url, html_data); - } + } else { + g_print ("Error in pre-generating HTML from %s. The problem could be with yelp-db2html OR the xml file may not be proper. Also check yelp-db2html path. It is assumed that yelp-db2html is installed in $SERVERDIR.\n", xml_url); + } } g_list_free (xml_list); |