* misc changes

This commit is contained in:
djcb 2011-12-01 21:32:48 +02:00
parent f79ca6c89a
commit 5b1c00d330
3 changed files with 15 additions and 3 deletions

View File

@ -16,9 +16,14 @@
include $(top_srcdir)/gtest.mk
# enforce compiling this dir first before decending into tests/
# enforce compiling guile (optionally) first,then this dir first
# before decending into tests/
SUBDIRS= .
if HAVE_GUILE
SUBDIRS += guile
endif
if BUILD_TESTS
SUBDIRS += tests
endif
@ -108,6 +113,7 @@ libmu_la_SOURCES= \
mu-util.h
libmu_la_LIBADD= \
$(XAPIAN_LIBS) \
$(GMIME_LIBS) \

View File

@ -299,7 +299,10 @@ cmd_info (MuStore *store, GSList *lst, GError **err)
return server_error (NULL, MU_ERROR_IN_PARAMETERS,
"usage: version");
send_expr ("(:info version :version \"" VERSION "\" :doccount %u)",
send_expr ("(:info version "
":version \"" VERSION "\" "
":doccount %u "
")",
mu_store_count (store, err));
return MU_OK;

View File

@ -19,6 +19,10 @@
**
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /*HAVE_CONFIG_H*/
#include <glib.h>
#include "mu-cmd.h"
@ -75,4 +79,3 @@ main (int argc, char *argv[])
mu_runtime_uninit ();
return rv;
}