dea6e2f1a7
Separate concerns properly for each subdirectory's Makefile
7 lines
330 B
Makefile
7 lines
330 B
Makefile
SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
|
EXTENSION = crankshaft
|
|
PACKAGE = crankshaft
|
|
EXTVERSION = $(shell grep default_version $(SELF_DIR)/src/pg/$(EXTENSION).control | sed -e "s/default_version[[:space:]]*=[[:space:]]*'\([^']*\)'/\1/")
|
|
RELEASE_VERSION ?= $(EXTVERSION)
|
|
SED = sed
|