observatory-extension/Makefile.global

6 lines
301 B
Makefile
Raw Permalink Normal View History

SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
EXTENSION = observatory
EXTVERSION = $(shell grep default_version $(SELF_DIR)/src/pg/$(EXTENSION).control | sed -e "s/default_version[[:space:]]*=[[:space:]]*'\([^']*\)'/\1/")
RELEASE_VERSION ?= $(EXTVERSION)
SED = sed