Browse Source

- convert to debhelper v4

- use new debhelper udeb support

r8676
keep-around/c8703c509368e1805e513d61f98a9d17d2cdd9cc
Joey Hess 19 years ago
parent
commit
0e499fd6aa
  1. 3
      debian/changelog
  2. 1
      debian/compat
  3. 4
      debian/control
  4. 28
      debian/rules

3
debian/changelog

@ -8,6 +8,9 @@ main-menu (0.057) UNRELEASED; urgency=low
* Matt Kraai
- Remove an unused variable.
* Eugen Meshcheryakov : added Ukrainian translation (uk.po)
* Joey Hess
- Convert to using debhelper 4.2's udeb support.
- Update to debhelper v4 too.
-- Christian Perrier <bubulle@debian.org> Sun, 8 Feb 2004 20:26:39 +0100

1
debian/compat

@ -0,0 +1 @@
4

4
debian/control

@ -3,10 +3,10 @@ Section: debian-installer
Priority: standard
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Uploaders: Joey Hess <joeyh@debian.org>, Martin Sjogren <sjogren@debian.org>, Petter Reinholdtsen <pere@debian.org>, Matt Kraai <kraai@debian.org>
Build-Depends: debhelper (>= 4.1.13), dpkg-dev (>= 1.9), libdebconfclient0-dev (>= 0.47), libdebian-installer4-dev (>= 0.18), po-debconf (>= 0.5.0)
Build-Depends: debhelper (>= 4.2), dpkg-dev (>= 1.9), libdebconfclient0-dev (>= 0.47), libdebian-installer4-dev (>= 0.18), po-debconf (>= 0.5.0)
Package: main-menu
Architecture: any
Depends: ${shlibs:Depends}
Description: Debian installer main menu
This package provides a main menu for the debian installer.
XC-Package-Type: udeb

28
debian/rules

@ -1,20 +1,4 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=2
# Udebs have no postrm file, don't make one
export DH_OPTIONS=-n
PACKAGE=$(shell dh_listpackages)
VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
ARCH=$(shell dpkg --print-architecture)
FILENAME=$(PACKAGE)_$(VERSION)_$(ARCH).udeb
build: build-stamp
build-stamp:
@ -33,16 +17,10 @@ install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs usr/bin
install $(PACKAGE) debian/$(PACKAGE)/usr/bin
dh_install main-menu usr/bin
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
#
# Note that this builds a .udeb, which is not policy compliant or anything.
binary-arch: build install
dh_testdir
dh_testroot
@ -51,8 +29,8 @@ binary-arch: build install
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol -- -n$(FILENAME)
dh_builddeb --filename=$(FILENAME)
dh_gencontrol
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

Loading…
Cancel
Save