From 4f77a42dcf2fd888e3b9dfde16fcee87455ca53d Mon Sep 17 00:00:00 2001 From: Tiago Bortoletto Vaz Date: Sun, 10 Aug 2008 17:39:06 +0200 Subject: Adding the basic infrastructure to provide l10n support for live-helper. --- debian/control | 4 ++-- debian/rules | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'debian') diff --git a/debian/control b/debian/control index 3b08803a8..bf1156ff5 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: misc Priority: optional Maintainer: Debian Live Uploaders: Daniel Baumann -Build-Depends: debhelper (>= 5) +Build-Depends: debhelper (>= 5), gettext (>= 0.13) Standards-Version: 3.8.0 Homepage: http://debian-live.alioth.debian.org/ Vcs-Browser: http://git.debian.net/?p=live-helper.git @@ -12,7 +12,7 @@ XS-Upstream-Depends: git-core Package: live-helper Architecture: all -Depends: debootstrap | cdebootstrap +Depends: debootstrap | cdebootstrap, gettext-base (>= 0.13) Suggests: dosfstools, genisoimage, memtest86+ | memtest86, mtools, parted, squashfs-tools | genext2fs | mtd-tools, sudo | fakeroot, syslinux | grub, uuid-runtime Description: Debian Live build scripts live-helper is a set of scripts to build Debian Live system images. diff --git a/debian/rules b/debian/rules index b7ef8a90e..50d5bb7be 100755 --- a/debian/rules +++ b/debian/rules @@ -8,11 +8,16 @@ clean: dh_testdir dh_testroot + # Cleaning message catalogs + $(MAKE) -C po clean + dh_clean build: + # Updating message catalogs + $(MAKE) -C po update-po -install: +install: build dh_testdir dh_testroot dh_clean -k @@ -21,6 +26,9 @@ install: # Installing package $(MAKE) install DESTDIR=$(CURDIR)/debian/live-helper + # Installing message catalogs + $(MAKE) -C po install DESTDIR=$(CURDIR)/debian/live-helper + install -D -m 0644 debian/default debian/live-helper/etc/default/live-helper # Preparing alternatives -- cgit v1.2.3