summaryrefslogtreecommitdiff
path: root/storage/mroonga/vendor/groonga/vendor/Makefile.am
blob: 0b766191a08a4fc4a1a160c46680da8754e1f9dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
NGINX_DIR = nginx-$(NGINX_VERSION)

SUBDIRS =					\
	onigmo					\
	mruby

EXTRA_DIST =					\
	$(NGINX_DIR)				\
	CMakeLists.txt				\
	plugins/CMakeLists.txt			\
	mruby/CMakeLists.txt

dist-hook:
	rm -rf $(distdir)/$(NGINX_DIR)/objs/
	GIT_DIR=$(srcdir)/mruby-source/.git git archive --format=tar HEAD | \
	  tar xf - -C $(distdir)/mruby-source
	$(MKDIR_P) $(distdir)/onigmo-source
	GIT_DIR=$(srcdir)/onigmo-source/.git git archive --format=tar HEAD | \
	  tar xf - -C $(distdir)/onigmo-source