summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rw-r--r--debian/control8
-rw-r--r--debian/hurd-dbg.dirs1
-rwxr-xr-xdebian/rules1
4 files changed, 13 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 65b0803b..4f2aedc1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,9 @@ hurd (20050119-1) unreleased; urgency=low
* debian/patches-contrib/kbd.patch: Removed, no longer needed.
* debian/patches/libpthread_linker_script.patch: New patch. Install
libpthread.a linker script correctly. (Closes: #291307)
+ * debian/control (hurd-dbg): New package.
+ * debian/rules (DEB_DH_STRIP_ARGS): Add support for hurd-dbg.
+ * debian/hurd-dbg.dirs: New file.
-- Michael Banck <mbanck@debian.org> Wed, 19 Jan 2005 21:58:24 +0100
diff --git a/debian/control b/debian/control
index 5d4446cf..5f98574e 100644
--- a/debian/control
+++ b/debian/control
@@ -26,3 +26,11 @@ Architecture: hurd-i386
Depends: hurd
Description: The GNU Hurd (development files)
This package includes the header files and the static libraries.
+
+Package: hurd-dbg
+Priority: optional
+Section: libdevel
+Architecture: hurd-i386
+Depends: hurd (= ${Source-Version})
+Description: The GNU Hurd (debugging files)
+ This package includes the unstripped binaries and libraries.
diff --git a/debian/hurd-dbg.dirs b/debian/hurd-dbg.dirs
new file mode 100644
index 00000000..08d9e7ae
--- /dev/null
+++ b/debian/hurd-dbg.dirs
@@ -0,0 +1 @@
+usr/lib/debug
diff --git a/debian/rules b/debian/rules
index a6c28fdf..b3b8155c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,6 +28,7 @@ include /usr/share/cdbs/1/class/autotools.mk
DEB_CONFIGURE_LIBEXECDIR ="\$${prefix}/libexec"
DEB_CONFIGURE_USER_FLAGS := --disable-profile
DEB_MAKE_INSTALL_TARGET = install prefix=$(DEB_DESTDIR) sysconfdir=$(DEB_DESTDIR)/etc localstatedir=$(DEB_DESTDIR)/var
+DEB_DH_STRIP_ARGS := --dbg-package=hurd
install/hurd::
# runsystem is managed by update-alternatives