diff options
author | Ted Gould <ted@gould.cx> | 2011-08-31 13:38:17 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-08-31 13:38:17 -0500 |
commit | 3a3145da6af3fc186a536ead2d24b7035e1d82ba (patch) | |
tree | 4c6e62aaf2d540775532ecc6a0371b0097b4871d /debian/rules | |
parent | b0eef117956490d332413394adb4bfec13218d8e (diff) | |
parent | 9e698820479b2854678ce985dfdd5383cbd29ab7 (diff) | |
download | ayatana-indicator-session-3a3145da6af3fc186a536ead2d24b7035e1d82ba.tar.gz ayatana-indicator-session-3a3145da6af3fc186a536ead2d24b7035e1d82ba.tar.bz2 ayatana-indicator-session-3a3145da6af3fc186a536ead2d24b7035e1d82ba.zip |
Update to Ubuntu Desktop
Diffstat (limited to 'debian/rules')
-rw-r--r--[-rwxr-xr-x] | debian/rules | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 3691179..a393364 100755..100644 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,6 @@ DEB_MAKE_FLAVORS = gtk2 gtk3 include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/gnome.mk -include /usr/share/cdbs/1/rules/autoreconf.mk DEB_MAKE_DESTDIRSKEL = $(CURDIR)/debian/tmp/@FLAVOR@ DEB_DESTDIR = $(CURDIR)/debian/tmp/$(cdbs_make_curflavor)/ @@ -24,4 +23,10 @@ common-install-arch:: find debian/tmp -name \*.a -delete find debian/tmp -name classic-desktop.sh | xargs chmod +x cd po; intltool-update --pot --verbose + # Language packs + for d in $$(find debian/tmp -type f \( -name "*.desktop" -o -name "*.directory" \) ); do \ + sed -ri '/^(Name|GenericName|Comment|X-GNOME-FullName)\[/d' $$d; \ + echo "X-Ubuntu-Gettext-Domain=indicator-session" >> $$d; \ + done; + |