aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules10
3 files changed, 20 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index af62252..5f5bd66 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-06-08 Marcus Brinkmann <marcus@gnu.org>
+
+ * debian/rules: Fix directory permissions, set architecture relevant
+ variables to default values, include section and priority in package,
+ strip migcom down even further, as suggested by Lintian.
+ * debian/changelog: Bump version to 1.2-1.
+
2001-06-07 Roland McGrath <roland@frob.com>
* configure.in: Bump version to 1.2.
diff --git a/debian/changelog b/debian/changelog
index 2e6248a..c6eb4fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mig (1.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Marcus Brinkmann <brinkmd@debian.org> Fri, 8 Jun 2001 18:18:53 +0200
+
mig (1.1-1) unstable; urgency=low
* CVS snapshot from new upstream release.
diff --git a/debian/rules b/debian/rules
index 08ba720..35a220e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@
##
###############################################################################
-# The name of the package (for example, `Emacs').
+# The name of the package (for example, `emacs').
package := mig
# Configuration variables (these should be pretty generic)
@@ -39,6 +39,9 @@ install_program= install -s -o root -g root -m 755
install_script= install -o root -g root -m 755
make_directory= install -d -o root -g root -m 755
+DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+
define checkdir
test -f debian/rules
endef
@@ -82,7 +85,8 @@ stamp-binary: build
$(make_directory) debian/tmp/DEBIAN
cd build && $(MAKE) install prefix=`pwd`/../debian/tmp/usr libexecdir=`pwd`/../debian/tmp/usr/lib/mig
- strip --strip-all debian/tmp/usr/lib/mig/migcom
+ strip --strip-all --remove-section=.note --remove-section=.comment debian/tmp/usr/lib/mig/migcom
+ find debian/tmp/usr -type d | xargs chmod 0755
# copy doc files but not INSTALL, it won't be needed
# compress all but copyright
@@ -96,7 +100,7 @@ stamp-binary: build
$(install_file) debian/copyright debian/tmp/$(DOCDIR)/copyright
dpkg-shlibdeps debian/tmp/usr/lib/mig/migcom
- dpkg-gencontrol -p$(package) -Pdebian/tmp
+ dpkg-gencontrol -isp -p$(package) -Pdebian/tmp
chown -R root.root debian/tmp
dpkg --build debian/tmp ..