Commit c0e1be81 authored by Colin Watson's avatar Colin Watson

Upgrade to debhelper v7.

r62168
parent faa4572e
......@@ -25,3 +25,6 @@ small: $(TARGETS)
clean:
-rm -f $(TARGETS)
test:
$(MAKE) -C kernel test
library.sh usr/lib/base-installer
finish-install.d usr/lib
run-debootstrap usr/sbin
pkgdetails usr/lib/debootstrap
base-installer (1.105) UNRELEASED; urgency=low
* Upgrade to debhelper v7.
-- Colin Watson <cjwatson@debian.org> Thu, 04 Feb 2010 12:09:51 -0800
base-installer (1.104) unstable; urgency=low
* Remove options relative_links and do_bootfloppy from default
......
debian/templates.gen
......@@ -3,7 +3,7 @@ Section: debian-installer
Priority: required
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Uploaders: Petter Reinholdtsen <pere@debian.org>, Joey Hess <joeyh@debian.org>, Colin Watson <cjwatson@debian.org>, dann frazier <dannf@debian.org>, Frans Pop <fjp@debian.org>, Steve Langasek <vorlon@debian.org>
Build-Depends: debhelper (>= 6), libdebconfclient0-dev (>= 0.46), libdebian-installer4-dev (>= 0.41)
Build-Depends: debhelper (>= 7.3.10), libdebconfclient0-dev (>= 0.46), libdebian-installer4-dev (>= 0.41)
Vcs-Svn: svn://svn.debian.org/d-i/trunk/packages/base-installer
Package: base-installer
......
#! /usr/bin/make -f
%:
dh $@
ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
build: build-stamp debian/templates.gen
build-stamp:
dh_testdir
override_dh_auto_build: debian/templates.gen
ifeq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
$(MAKE) small
else
$(MAKE) DEBUG=1
endif
touch $@
debian/templates.gen: debian/templates-arch
debian/templates-build.pl $(ARCH) < $< > $@
......@@ -19,55 +18,16 @@ debian/templates.gen: debian/templates-arch
# debconf-updatepo
touch -mr $< $@
clean:
dh_testdir
rm -f build-stamp
$(MAKE) clean
dh_clean debian/templates.gen
test:
$(MAKE) -C kernel test
binary-indep:
dh_testdir
dh_testroot
dh_clean -k
dh_install library.sh usr/lib/base-installer
dh_installdirs usr/lib/finish-install.d
install -m755 finish-install debian/base-installer/usr/lib/finish-install.d/90base-installer
dh_installdebconf -i -n
dh_strip -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_shlibdeps -i
dh_gencontrol -i
dh_builddeb -i
dh_auto_test
binary-arch: build test
dh_testdir
dh_testroot
dh_install -p bootstrap-base run-debootstrap usr/sbin
dh_install -p bootstrap-base pkgdetails usr/lib/debootstrap
override_dh_install:
dh_install
if [ -e "kernel/$(ARCH).sh" ]; then \
dh_installdirs -p bootstrap-base usr/lib/base-installer; \
install -m644 "kernel/$(ARCH).sh" \
debian/bootstrap-base/usr/lib/base-installer/kernel.sh; \
install -D -m644 "kernel/$(ARCH).sh" \
debian/bootstrap-base/usr/lib/base-installer/kernel.sh; \
fi
dh_installdebconf -a -n
(echo ; cat debian/templates.gen) >> debian/bootstrap-base/DEBIAN/templates
cp debian/bootstrap-base.isinstallable debian/bootstrap-base/DEBIAN/isinstallable
dh_strip -a
dh_compress -a
dh_fixperms -a
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: clean binary-indep binary-arch binary install
override_dh_installdebconf:
dh_installdebconf
(echo ; cat debian/templates.gen) >> debian/bootstrap-base/DEBIAN/templates
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment