diff options
| author | Ondřej Surý <ondrej@sury.org> | 2016-02-18 09:49:16 (GMT) |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2016-02-22 10:52:29 (GMT) |
| commit | 4af02aad4a772363e21ff5cb4dba618aa37162c8 (patch) | |
| tree | 5581294952d551fc03e97e082b3472c747d67184 | |
| parent | 949574819774680452ac6a26d0be73e8f4df3aed (diff) | |
Add support for dbgsym package
| -rw-r--r-- | debian/control.in | 15 | ||||
| -rwxr-xr-x | debian/rules | 3 |
2 files changed, 1 insertions, 17 deletions
diff --git a/debian/control.in b/debian/control.in index b238ccd..331dadc 100644 --- a/debian/control.in +++ b/debian/control.in @@ -219,21 +219,6 @@ Description: Common files for packages built from the PHP source open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. -Package: php@PHP_VERSION@-dbg -Depends: libapache2-mod-php@PHP_VERSION@ (= ${binary:Version}) | php@PHP_VERSION@-cgi (= ${binary:Version}) | php@PHP_VERSION@-cli (= ${binary:Version}) | php@PHP_VERSION@-fpm (= ${binary:Version}) | libphp@PHP_VERSION@-embed (= ${binary:Version}) | php@PHP_VERSION@-phpdbg (= ${binary:Version}), - ${misc:Depends} -Recommends: gdb -Section: debug -Priority: extra -Architecture: any -Description: Debug symbols for PHP@PHP_VERSION@ - This package provides the debug symbols for PHP@PHP_VERSION@ needed for properly - debugging errors in PHP@PHP_VERSION@ with gdb. - . - PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used - open source general-purpose scripting language that is especially suited - for web development and can be embedded into HTML. - Package: php@PHP_VERSION@-dev Depends: autoconf (>= 2.63), automake (>= 1.11), diff --git a/debian/rules b/debian/rules index 1fdb5cf..3e9e43f 100755 --- a/debian/rules +++ b/debian/rules @@ -53,7 +53,6 @@ PHP_DEV := php$(PHP_NAME_VERSION)-dev PHP_APACHE2 := libapache2-mod-php$(PHP_NAME_VERSION) PHP_CGI := php$(PHP_NAME_VERSION)-cgi PHP_CLI := php$(PHP_NAME_VERSION)-cli -PHP_DBG := php$(PHP_NAME_VERSION)-dbg PHP_PHPDBG := php$(PHP_NAME_VERSION)-phpdbg # Generic commands @@ -559,7 +558,7 @@ override_dh_installchangelogs: dh_installchangelogs -p$(PHP_COMMON) NEWS override_dh_strip: - dh_strip --dbg-package=$(PHP_DBG) + dh_strip --dbgsym-migration='php$(PHP_NAME_VERSION)-dbg' || dh_strip override_dh_makeshlibs-arch: dh_makeshlibs -a -p$(PHP_LIBEMBED) -V '$(PHP_LIBEMBED) (>= $(PHP_MAJOR_VERSION).$(PHP_MINOR_VERSION))' |
