postfix 2.0.20: Remove spurious .debug directories from the non -dbg packages.
authorJamie Lenehan <lenehan@twibble.org>
Sun, 10 Sep 2006 05:07:13 +0000 (05:07 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Sun, 10 Sep 2006 05:07:13 +0000 (05:07 +0000)
packages/postfix/postfix_2.0.20.bb

index 6ddc244..06e173a 100644 (file)
@@ -1,7 +1,7 @@
 SECTION = "console/network"
 DEPENDS = "virtual/db libpcre postfix-native"
 LICENSE = "IPL"
-PR = "r8"
+PR = "r9"
 
 SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \
           file://${FILESDIR}/makedefs.patch;patch=1 \
@@ -73,3 +73,8 @@ pkg_postinst () {
 pkg_postrm () {
        update-alternatives --remove sendmail ${sbindir}/sendmail 
 }
+
+# Exclude .debug directories from the main package
+FILES_${PN} = "${sysconfdir} ${localstatedir} ${bindir}/* ${sbindir}/* \
+               ${libexecdir}/postfix/*"
+FILES_${PN}-dbg += "${libexecdir}/postfix/.debug"