summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorTiago Bortoletto Vaz <tiagovaz@safernet.org.br>2008-08-10 17:39:06 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:38 +0100
commit9be35287b82e146fdabebc4d45233a99c4f59a4a (patch)
tree14d79e23efada054f60932c24c400d5db03515fa /debian
parent7bd69bd567f5214d31de41fa895ac8978f436871 (diff)
downloadlive-build-9be35287b82e146fdabebc4d45233a99c4f59a4a.zip
live-build-9be35287b82e146fdabebc4d45233a99c4f59a4a.tar.gz
Adding the basic infrastructure to provide l10n support for live-helper.
Diffstat (limited to 'debian')
-rw-r--r--debian/control4
-rwxr-xr-xdebian/rules10
2 files changed, 11 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index 3b08803..bf1156f 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: misc
Priority: optional
Maintainer: Debian Live <debian-live-maint@lists.alioth.debian.org>
Uploaders: Daniel Baumann <daniel@debian.org>
-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 b7ef8a9..50d5bb7 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