~ubuntu-branches/ubuntu/intrepid/language-pack-kde-mr/intrepid-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Ubuntu automatic language-pack builder
  • Date: 2009-02-06 16:39:58 UTC
  • Revision ID: james.westby@ubuntu.com-20090206163958-v9wrmfolo594h97a
Tags: 1:8.10+20090205
Automatic update to latest translation data.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
        dh_testroot
24
24
        
25
25
        mkdir -p $(LOCALEDIR)
26
 
        cd data; \
 
26
        set -e; cd data; \
27
27
          find -type d -exec mkdir -p "$(LOCALEDIR)/{}" \; ; \
28
 
          find -type f -name "*.po" -exec sh -c "N='{}'; msgfmt -o $(LOCALEDIR)/\$${N%.po}.mo \$$N" \;
 
28
          find -type f -name "*.po" | while read f; do msgfmt -o $(LOCALEDIR)/$${f%.po}.mo --check-format $$f; done
29
29
        
30
30
        cd debian/upgrade-notes; for f in `ls`; do \
31
31
            [ -e ../postinst ] || echo -e "#!/bin/sh -e\n\