aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..772b862
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export AUTOPOINT = true
+
+%:
+ dh $@ --with autoreconf
+
+override_dh_install:
+ find debian/indicator-power -name \*.la -delete
+ find debian/indicator-power -name \*.a -delete
+ mkdir -p debian/indicator-power/usr/share/apport/package-hooks/
+ cp debian/source_indicator-power.py debian/indicator-power/usr/share/apport/package-hooks/
+ cd po; intltool-update --pot --verbose