fixed minor build problems

This commit is contained in:
hyung-hwan 2015-04-10 15:14:19 +00:00
parent acf94fa650
commit 8ae0d6d474
6 changed files with 9 additions and 4 deletions

View File

@ -3,6 +3,7 @@ EXTRA_DIST = conffiles copyright changelog
docdir=$(DOCDIR) docdir=$(DOCDIR)
doc_DATA = copyright changelog doc_DATA = copyright changelog
# Specifying debdir to /DEBIAN conflicts with 'make distcheck'
debdir=/DEBIAN debdir=/DEBIAN
deb_DATA = control conffiles deb_DATA = control conffiles
deb_SCRIPTS = postinst postrm deb_SCRIPTS = postinst postrm

View File

@ -204,6 +204,8 @@ top_srcdir = @top_srcdir@
wwwdir = @wwwdir@ wwwdir = @wwwdir@
EXTRA_DIST = conffiles copyright changelog EXTRA_DIST = conffiles copyright changelog
doc_DATA = copyright changelog doc_DATA = copyright changelog
# Specifying debdir to /DEBIAN conflicts with 'make distcheck'
debdir = /DEBIAN debdir = /DEBIAN
deb_DATA = control conffiles deb_DATA = control conffiles
deb_SCRIPTS = postinst postrm deb_SCRIPTS = postinst postrm

View File

@ -30,6 +30,7 @@ distclean-local:
$(RM) -r autom4te.cache config.h.in~ "$(PACKAGE)-$(VERSION)" $(RM) -r autom4te.cache config.h.in~ "$(PACKAGE)-$(VERSION)"
# TODO: specify --with-phpextdir and --with-phpextinidir for the deb target
deb: dist-gzip deb: dist-gzip
tar -zxvf "$(PACKAGE)-$(VERSION).tar.gz" tar -zxvf "$(PACKAGE)-$(VERSION).tar.gz"
cd "$(PACKAGE)-$(VERSION)"; ./configure \ cd "$(PACKAGE)-$(VERSION)"; ./configure \

View File

@ -762,6 +762,7 @@ uninstall-hook:
distclean-local: distclean-local:
$(RM) -r autom4te.cache config.h.in~ "$(PACKAGE)-$(VERSION)" $(RM) -r autom4te.cache config.h.in~ "$(PACKAGE)-$(VERSION)"
# TODO: specify --with-phpextdir and --with-phpextinidir for the deb target
deb: dist-gzip deb: dist-gzip
tar -zxvf "$(PACKAGE)-$(VERSION).tar.gz" tar -zxvf "$(PACKAGE)-$(VERSION).tar.gz"
cd "$(PACKAGE)-$(VERSION)"; ./configure \ cd "$(PACKAGE)-$(VERSION)"; ./configure \

View File

@ -1,4 +1,4 @@
EXTRA_DIST = config.m4 svn.c php_svn.h svn.ini EXTRA_DIST = config.m4 svn.c php_svn.h svn.ini README
all-local: all-local:
mkdir -p @abs_builddir@/pecl mkdir -p @abs_builddir@/pecl
@ -19,4 +19,4 @@ install-data-hook:
$(INSTALL) -D @abs_srcdir@/svn.ini $(DESTDIR)@PHPEXTINIDIR@/svn.ini $(INSTALL) -D @abs_srcdir@/svn.ini $(DESTDIR)@PHPEXTINIDIR@/svn.ini
uninstall-hook: uninstall-hook:
-rm -f @PHPEXTDIR@/svn.so $(DESTDIR)@PHPEXTINIDIR@/svn.ini -rm -f $(DESTDIR)@PHPEXTDIR@/svn.so $(DESTDIR)@PHPEXTINIDIR@/svn.ini

View File

@ -168,7 +168,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
wwwdir = @wwwdir@ wwwdir = @wwwdir@
EXTRA_DIST = config.m4 svn.c php_svn.h svn.ini EXTRA_DIST = config.m4 svn.c php_svn.h svn.ini README
all: all-am all: all-am
.SUFFIXES: .SUFFIXES:
@ -377,7 +377,7 @@ install-data-hook:
$(INSTALL) -D @abs_srcdir@/svn.ini $(DESTDIR)@PHPEXTINIDIR@/svn.ini $(INSTALL) -D @abs_srcdir@/svn.ini $(DESTDIR)@PHPEXTINIDIR@/svn.ini
uninstall-hook: uninstall-hook:
-rm -f @PHPEXTDIR@/svn.so $(DESTDIR)@PHPEXTINIDIR@/svn.ini -rm -f $(DESTDIR)@PHPEXTDIR@/svn.so $(DESTDIR)@PHPEXTINIDIR@/svn.ini
# Tell versions [3.59,3.63) of GNU make to not export all variables. # Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded. # Otherwise a system limit (for SysV at least) may be exceeded.