Compile and install other tools than kiwix-serve.

This commit is contained in:
Matthieu Gautier 2017-01-03 11:56:15 +01:00
parent 9465b764fa
commit 384d113b6f
11 changed files with 34 additions and 8 deletions

3
src/indexer/meson.build Normal file
View File

@ -0,0 +1,3 @@
executable('kiwix-index', ['kiwix-index.cpp'],
dependencies:all_deps,
install:true)

View File

@ -18,7 +18,7 @@
*/
#include <getopt.h>
#include <pathTools.h>
#include <kiwix/common/pathTools.h>
#include <kiwix/xapianIndexer.h>
#include <kiwix/reader.h>
#include <kiwix/manager.h>

View File

@ -0,0 +1,3 @@
executable('kiwix-install', ['kiwix-install.cpp'],
dependencies:all_deps,
install:true)

5
src/man/fr/meson.build Normal file
View File

@ -0,0 +1,5 @@
install_man('kiwix-index.1',
'kiwix-install.1',
'kiwix-manage.1',
'kiwix-serve.1',
install_dir:get_option('mandir')+'/fr/man1')

5
src/man/meson.build Normal file
View File

@ -0,0 +1,5 @@
install_man('kiwix-index.1',
'kiwix-install.1',
'kiwix-manage.1',
'kiwix-serve.1')
subdir('fr')

View File

@ -23,7 +23,7 @@
#include <getopt.h>
#include <iostream>
#include <cstdlib>
#include <pathTools.h>
#include <kiwix/common/pathTools.h>
#include <kiwix/manager.h>
using namespace std;

3
src/manager/meson.build Normal file
View File

@ -0,0 +1,3 @@
executable('kiwix-manage', ['kiwix-manage.cpp'],
dependencies:all_deps,
install:true)

View File

@ -1,8 +1,9 @@
#subdir('indexer')
#subdir('installer')
#subdir('manager')
#subdir('reader')
#subdir('searcher')
subdir('indexer')
subdir('installer')
subdir('manager')
subdir('reader')
subdir('searcher')
subdir('server')
subdir('man')

View File

@ -21,7 +21,7 @@
#include <unistd.h>
#include <string>
#include <map>
#include <tree.h>
#include <kiwix/common/tree.h>
#include <kiwix/reader.h>
void usage() {

3
src/reader/meson.build Normal file
View File

@ -0,0 +1,3 @@
executable('kiwix-read', ['kiwix-read.cpp'],
dependencies:all_deps,
install:true)

3
src/searcher/meson.build Normal file
View File

@ -0,0 +1,3 @@
executable('kiwix-search', ['kiwix-search.cpp'],
dependencies:all_deps,
install:true)