mirror of https://github.com/djcb/mu.git
* misc changes
This commit is contained in:
parent
f79ca6c89a
commit
5b1c00d330
|
@ -16,9 +16,14 @@
|
||||||
|
|
||||||
include $(top_srcdir)/gtest.mk
|
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= .
|
SUBDIRS= .
|
||||||
|
|
||||||
|
if HAVE_GUILE
|
||||||
|
SUBDIRS += guile
|
||||||
|
endif
|
||||||
|
|
||||||
if BUILD_TESTS
|
if BUILD_TESTS
|
||||||
SUBDIRS += tests
|
SUBDIRS += tests
|
||||||
endif
|
endif
|
||||||
|
@ -108,6 +113,7 @@ libmu_la_SOURCES= \
|
||||||
mu-util.h
|
mu-util.h
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
libmu_la_LIBADD= \
|
libmu_la_LIBADD= \
|
||||||
$(XAPIAN_LIBS) \
|
$(XAPIAN_LIBS) \
|
||||||
$(GMIME_LIBS) \
|
$(GMIME_LIBS) \
|
||||||
|
|
|
@ -299,7 +299,10 @@ cmd_info (MuStore *store, GSList *lst, GError **err)
|
||||||
return server_error (NULL, MU_ERROR_IN_PARAMETERS,
|
return server_error (NULL, MU_ERROR_IN_PARAMETERS,
|
||||||
"usage: version");
|
"usage: version");
|
||||||
|
|
||||||
send_expr ("(:info version :version \"" VERSION "\" :doccount %u)",
|
send_expr ("(:info version "
|
||||||
|
":version \"" VERSION "\" "
|
||||||
|
":doccount %u "
|
||||||
|
")",
|
||||||
mu_store_count (store, err));
|
mu_store_count (store, err));
|
||||||
|
|
||||||
return MU_OK;
|
return MU_OK;
|
||||||
|
|
|
@ -19,6 +19,10 @@
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif /*HAVE_CONFIG_H*/
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include "mu-cmd.h"
|
#include "mu-cmd.h"
|
||||||
|
@ -75,4 +79,3 @@ main (int argc, char *argv[])
|
||||||
mu_runtime_uninit ();
|
mu_runtime_uninit ();
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue