diff --git a/debian/changelog b/debian/changelog index d651b48..2651ba2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +mozc (1.5.1053.102-3) unstable; urgency=low + + * Fix FTBFS with building binary only. + Split override_dh_fixperms to override_dh_fixperms-indeps and arch. + * Update dh_clean target. Delete cache files. + + -- Nobuhiro Iwamatsu Mon, 14 May 2012 08:24:04 +0900 + mozc (1.5.1053.102-2) unstable; urgency=low * Update debian/copyright to DEP5. diff --git a/debian/rules b/debian/rules index 009c6fe..7d335a5 100755 --- a/debian/rules +++ b/debian/rules @@ -43,10 +43,15 @@ python build_mozc.py clean rm -rf build_tools/__init__.pyc rm -rf build_tools/mozc_version.pyc - rm -rf third_party/rx/rx.Makefile rm -rf build_tools/test_tools/__init__.pyc rm -rf build_tools/test_tools/task_scheduler.pyc rm -rf build_tools/util.pyc + rm -rf build_tools/code_generator_util.pyc + rm -rf rewriter/embedded_dictionary_compiler.pyc + rm -rf rewriter/__init__.pyc + rm -rf dictionary/pos_util.pyc + rm -rf dictionary/__init__.pyc + rm -rf third_party/rx/rx.Makefile override_dh_auto_install: # ibus-mozc @@ -68,9 +73,12 @@ install -D -m 0755 $(BUILD_DIR)/Release/fcitx-mozc.so \ $(CURDIR)/debian/fcitx-mozc/usr/lib/$(DEB_BUILD_MULTIARCH)/fcitx/fcitx-mozc.so -override_dh_fixperms: +override_dh_fixperms-arch: + chmod -x debian/emacs-mozc/usr/share/emacs/site-lisp/emacs-mozc/mozc.el + dh_fixperms + +override_dh_fixperms-indep: chmod -x debian/mozc-data/usr/share/icons/mozc/*.png - chmod -x debian/emacs-mozc/usr/share/emacs/site-lisp/emacs-mozc/mozc.el dh_fixperms .PHONY: override_dh_installemacsen