summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
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 3b08803a8..bf1156ff5 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 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