diff options
| author | Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | 2012-11-16 14:51:26 -0500 |
|---|---|---|
| committer | Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | 2012-11-16 14:51:26 -0500 |
| commit | c3a8cef354f9c8bd660ba5930edbe14ea714267a (patch) | |
| tree | e92ebb74b19f4262ebcca7feacf9126010166975 /debian/rules | |
| parent | 2893be94b74895718d829b2f22388ea607de0980 (diff) | |
| parent | d332852b45ee3e1870877304477ede511d32c82e (diff) | |
| download | ayatana-indicator-datetime-c3a8cef354f9c8bd660ba5930edbe14ea714267a.tar.gz ayatana-indicator-datetime-c3a8cef354f9c8bd660ba5930edbe14ea714267a.tar.bz2 ayatana-indicator-datetime-c3a8cef354f9c8bd660ba5930edbe14ea714267a.zip | |
Import debian/ from lp:~ubuntu-desktop/indicator-datetime/ubuntu
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..135786f --- /dev/null +++ b/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/autoreconf.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk + +DEB_CONFIGURE_EXTRA_FLAGS = --disable-static + +LDFLAGS += -Wl,-z,defs -Wl,--as-needed + +common-install-arch:: + find debian/indicator-datetime -name \*.la -delete + find debian/indicator-datetime -name \*.a -delete + cd po; intltool-update --pot --verbose + # Language packs + for d in $$(find debian/indicator-datetime -type f \( -name "*.desktop" -o -name "*.directory" \) ); do \ + sed -ri '/^(Name|GenericName|Comment|X-GNOME-FullName)\[/d' $$d; \ + echo "X-Ubuntu-Gettext-Domain=indicator-datetime" >> $$d; \ + done; + |
