codepot/pecl-svn/Makefile.am

23 lines
695 B
Makefile
Raw Normal View History

2015-04-10 15:14:19 +00:00
EXTRA_DIST = config.m4 svn.c php_svn.h svn.ini README
all-local:
mkdir -p "@abs_builddir@/pecl"
cp -f "@abs_srcdir@/svn.c" "@abs_builddir@/pecl/"
cp -f "@abs_srcdir@/php_svn.h" "@abs_builddir@/pecl/"
cp -f "@abs_srcdir@/config.m4" "@abs_builddir@/pecl/"
cd "@abs_builddir@/pecl/"; phpize
cd "@abs_builddir@/pecl/"; ./configure
cd "@abs_builddir@/pecl/"; make
clean-local:
-rm -rf @abs_builddir@/pecl
install-exec-hook:
$(INSTALL) -D "@abs_builddir@/pecl/.libs/svn.so" "$(DESTDIR)@PHPEXTDIR@/svn.so"
install-data-hook:
$(INSTALL) -D "@abs_srcdir@/svn.ini" "$(DESTDIR)@PHPEXTINIDIR@/svn.ini"
uninstall-hook:
-rm -f "$(DESTDIR)@PHPEXTDIR@/svn.so" "$(DESTDIR)@PHPEXTINIDIR@/svn.ini"