summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hartwig <mandyke@gmail.com>2012-07-01 08:14:02 +0800
committerDaniel Hartwig <mandyke@gmail.com>2012-07-01 08:19:18 +0800
commit307f72a2184457795706dcc21850330f824902bd (patch)
treeb26288347da65351f203ad0f61d25749c8df3ad9
parent173daf97f364b787ce6320a7896a201c94c212ac (diff)
downloadaptitude-307f72a2184457795706dcc21850330f824902bd.tar.gz
Clean up extra translated files which po4a is leaving.
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules7
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 81a2b965..d6eba3da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -38,6 +38,8 @@ aptitude (0.6.9-1) unstable; urgency=low
* Depend on libxapian instead.
* Depend on newer version of libapt-pkg for architecture
specification string support.
+ * debian/rules:
+ - Clean up extra translated files which po4a is leaving.
* Translation updates:
- Polish (Closes: #678153)
diff --git a/debian/rules b/debian/rules
index 59795139..3eb27411 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,13 @@ BUILDDIR=build-arch
%:
dh $@ --parallel --builddirectory=$(BUILDDIR) --dbg-package=aptitude-dbg
+override_dh_clean:
+ dh_clean
+ # Clean up extra translated files which po4a is leaving.
+ for lc in de es fr it ja pl; \
+ do rm -f "doc/$$lc/manpage.xml" "doc/$$lc/aptitude.xml"; \
+ done
+
override_dh_auto_configure:
dh_auto_configure -- \
--htmldir='$${docdir}/html' \