summaryrefslogtreecommitdiff
path: root/debian/rules
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/rules
parent7bd69bd567f5214d31de41fa895ac8978f436871 (diff)
downloadvyos-live-build-9be35287b82e146fdabebc4d45233a99c4f59a4a.tar.gz
vyos-live-build-9be35287b82e146fdabebc4d45233a99c4f59a4a.zip
Adding the basic infrastructure to provide l10n support for live-helper.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules10
1 files changed, 9 insertions, 1 deletions
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