From: Michael Wallner Date: Wed, 30 Sep 2015 13:04:57 +0000 (+0200) Subject: duh X-Git-Tag: release-1.0.2RC1~4 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-propro;a=commitdiff_plain;h=683ab81cceb2a487a6084e988ca3846ca1a96227 duh --- diff --git a/.gitignore b/.gitignore index 39fd0d8..a11c9e4 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ run-tests.php .libs/ /php_propro_api.h /Doxyfile.bak +!/Makefile.frag diff --git a/Makefile.frag b/Makefile.frag new file mode 100644 index 0000000..292b0d4 --- /dev/null +++ b/Makefile.frag @@ -0,0 +1,16 @@ +# provide headers in builddir, so they do not end up in /usr/include/ext/propro/src + +PHP_PROPRO_HEADERS := $(addprefix $(PHP_PROPRO_BUILDDIR)/,$(PHP_PROPRO_HEADERS)) + +$(PHP_PROPRO_BUILDDIR)/%.h: $(PHP_PROPRO_SRCDIR)/src/%.h + @cat >$@ <$< + +all: propro-build-headers +clean: propro-clean-headers + +.PHONY: propro-build-headers +propro-build-headers: $(PHP_PROPRO_HEADERS) + +.PHONY: propro-clean-headers +propro-clean-headers: + -rm -f $(PHP_PROPRO_HEADERS) diff --git a/package.xml b/package.xml index f926f4d..75786b8 100644 --- a/package.xml +++ b/package.xml @@ -42,11 +42,12 @@ http://pear.php.net/dtd/package-2.0.xsd"> + - - - + + +