summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e87c8d8b80ca3775c90ced86c11638f7c93d12e5 (plain)
1
2
3
4
5
6
7
8
SRCDIR := $(shell pwd)
NAME := $(shell basename $(SRCDIR))
include ../../../common/Makefile

refl: $(NAME).spec
	php -d zend_extension=$(shell sed -n '/%global pecl_name/{s/.* //;p}' $(NAME).spec) --re $(shell sed -n '/%global pecl_name/{s/.* //;p}' $(NAME).spec) >REFLECTION
	php -d zend_extension=$(shell sed -n '/%global pecl_name/{s/.* //;p}' $(NAME).spec) --ri $(shell sed -n '/%global pecl_name/{s/.* //;p}' $(NAME).spec) >PHPINFO