Debian Codegraph @

vendor/Makefile.am

raw
1 # Copyright(C) 2017 Brazil
2 # Copyright(C) 2019-2023 Sutou Kouhei <[email protected]>
3 #
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
8 #
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
18 SUBDIRS = \
19 lz4 \
20 onigmo \
21 mecab \
22 mruby \
23 groonga-log
24
25 EXTRA_DIST = \
26 CMakeLists.txt \
27 plugins/CMakeLists.txt \
28 download_groonga_normalizer_mysql.rb \
29 download_lz4.rb \
30 download_mecab.rb \
31 download_rapidjson.rb \
32 download.rb
33
34 dist-hook:
35 GIT_DIR=$(srcdir)/mruby-source/.git git archive --format=tar HEAD | \
36 tar xf - -C $(distdir)/mruby-source
37 cp -r mruby/mruby-include $(distdir)/
38 $(MKDIR_P) $(distdir)/onigmo-source
39 GIT_DIR=$(srcdir)/onigmo-source/.git git archive --format=tar HEAD | \
40 tar xf - -C $(distdir)/onigmo-source
41 cd $(distdir)/onigmo-source && autoreconf --install --force
42 cd $(distdir)/onigmo-source && sleep 1 && touch config.h.in
43 $(MKDIR_P) $(distdir)/groonga-log-source
44 GIT_DIR=$(srcdir)/groonga-log-source/.git git archive --format=tar HEAD | \
45 tar xf - -C $(distdir)/groonga-log-source
46 cd $(distdir) && $(RUBY) download_rapidjson.rb
47 cd $(distdir) && $(RUBY) download.rb