[Pkg-giraffe-discuss] [PATCH 1/2] dh-php: adding debhelper for PHP modules

c.schoenert at t-online.de c.schoenert at t-online.de
Mon Jan 9 07:32:20 UTC 2017


From: Carsten Schoenert <c.schoenert at t-online.de>

In preparation for getting the php7.0-mapi content automatically
installed by dh-php we need a new Build-Depends and reflecting change in
debian/rules for getting dh-php later working.
---
 debian/control | 1 +
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index ca3be4ec..18383021 100644
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,7 @@ Build-Depends: autoconf (>= 2.59),
  debhelper (>= 9.20160115),
  default-libmysqlclient-dev,
  dh-autoreconf,
+ dh-php,
  dh-exec,
  dh-systemd (>= 1.5),
  dpkg-dev (>= 1.16.1~),
diff --git a/debian/rules b/debian/rules
index ecea29e4..0d7eedf3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,7 +45,7 @@ DEB_CONFIGURE_EXTRA_ARGS :=      \
     $(NULL)
 
 %:
-	dh $@ --builddirectory=$(DEB_BUILD_DIR) --parallel --with systemd,autoreconf
+	dh $@ --builddirectory=$(DEB_BUILD_DIR) --parallel --with systemd,autoreconf,php
 
 override_dh_auto_configure:
 	echo ${DEB_UVERSION} > $(CURDIR)/revision
-- 
2.11.0




More information about the Pkg-giraffe-discuss mailing list