~ubuntu-branches/ubuntu/precise/xkeyboard-config/precise

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2011-10-05 23:34:45 UTC
  • Revision ID: james.westby@ubuntu.com-20111005233445-fux0skv8hev3l7su
Tags: 2.3-1ubuntu2
rules: Bring back the pot file build, very much needed still.
This time move the original file away during build, and restore
on clean. (LP: #868554)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
override_dh_autoreconf:
6
6
        dh_autoreconf '(intltoolize -c -f && autoreconf -vfi)'
7
7
 
 
8
override_dh_auto_clean:
 
9
        dh_auto_clean
 
10
        if [ -e $(CURDIR)/po/xkeyboard-config.pot-orig ]; then \
 
11
                mv $(CURDIR)/po/xkeyboard-config.pot-orig \
 
12
                $(CURDIR)/po/xkeyboard-config.pot; \
 
13
        fi
 
14
 
8
15
override_dh_auto_configure:
9
16
        dh_auto_configure -- \
10
17
          --with-xkb-rules-symlink=xfree86,xorg \
11
18
          --with-xkb-base=$(xkb_base) \
12
19
          --disable-runtime-deps
13
20
 
 
21
override_dh_auto_build:
 
22
        dh_auto_build
 
23
        mv $(CURDIR)/po/xkeyboard-config.pot $(CURDIR)/po/xkeyboard-config.pot-orig
 
24
        cd $(CURDIR)/po && intltool-update -p
 
25
 
14
26
override_dh_auto_install:
15
27
        # Regular deb:
16
28
        $(MAKE) -C build install DESTDIR=$(CURDIR)/debian/tmp