codepot/pecl-svn/Makefile.am

23 lines
695 B
Makefile

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"