Kouhei Sutou
null+****@clear*****
Sat Jan 31 16:04:18 JST 2015
Kouhei Sutou 2015-01-31 16:04:18 +0900 (Sat, 31 Jan 2015) New Revision: a4e0200b1aeda6c5a60387afd8f2294b58538c34 https://github.com/pgroonga/pgroonga/commit/a4e0200b1aeda6c5a60387afd8f2294b58538c34 Message: Extract version from .control Modified files: Makefile Modified: Makefile (+4 -1) =================================================================== --- Makefile 2015-01-29 00:55:35 +0900 (b684d48) +++ Makefile 2015-01-31 16:04:18 +0900 (b37b0a9) @@ -2,7 +2,10 @@ MODULE_big = pgroonga SRCS = pgroonga.c pgroonga_types.c OBJS = $(SRCS:.c=.o) EXTENSION = pgroonga -DATA = pgroonga--0.2.0.sql +EXTENSION_VERSION = \ + $(shell grep default_version $(EXTENSION).control | \ + sed -e "s/^.*'\([0-9.]*\)'$$/\1/") +DATA = pgroonga--$(EXTENSION_VERSION).sql PG_CPPFLAGS = $(shell pkg-config --cflags groonga) SHLIB_LINK = $(shell pkg-config --libs groonga) # REGRESS = pgroonga update bench -------------- next part -------------- HTML����������������������������...Télécharger