
default:	build

clean:
	rm -rf Makefile objs

build:
	$(MAKE) -f objs/Makefile

install:
	$(MAKE) -f objs/Makefile install

modules:
	$(MAKE) -f objs/Makefile modules

upgrade:
	/home/horimoto/work/local/sbin/groonga-httpd -t

	kill -USR2 `cat /home/horimoto/work/local/var/run/groonga/groonga-httpd.pid`
	sleep 1
	test -f /home/horimoto/work/local/var/run/groonga/groonga-httpd.pid.oldbin

	kill -QUIT `cat /home/horimoto/work/local/var/run/groonga/groonga-httpd.pid.oldbin`
