~ubuntu-branches/ubuntu/intrepid/belocs-locales-bin/intrepid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jeff Bailey
  • Date: 2006-06-21 18:59:08 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060621185908-ndm8rlsnpfqy77kz
Tags: 2.4-1ubuntu1
* Merge changes from Debian.

* Preserve behaviour of current belocs-locales-bin in Ubuntu.
  We don't use this package for setting up locales, we only use the
  binaries.

* Set default locales magic to 20051014

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        -make distclean
28
28
        -make -C manpages clean
29
29
        dh_clean
 
30
        -rm -f debian/config
 
31
        -debconf-updatepo
30
32
 
31
33
install: build-stamp
32
34
        dh_testdir
35
37
        dh_installdirs -p$(DEB_SOURCE_PACKAGE)
36
38
        make DESTDIR=${tmpdir} install
37
39
        install -m 755 sbin/locale-gen $(tmpdir)/usr/sbin/
 
40
        install -m 755 sbin/update-locale $(tmpdir)/usr/sbin/
38
41
        install -m 755 sbin/validlocale $(tmpdir)/usr/sbin/
39
42
        install -m 644 debian/locale-gen.conf $(tmpdir)/etc/belocs/
40
43
        install -m 755 debian/*-language-pack $(tmpdir)/usr/share/locales
 
44
        # Substitute __SUPPORTED_LOCALES__.
 
45
        # We cannot Build-Depends: belocs-locales-data because for now
 
46
        # belocs-locales-data depends on belocs-locales-bin, so a copy
 
47
        # is shipped into debian/SUPPORTED until this is solved.
 
48
 
 
49
        # Ubuntu change: Don't do this.  We don't want this to select locales.
 
50
        # perl -pe 'BEGIN {undef $$/; open(IN, "debian/SUPPORTED"); $$j=<IN>;} s/__SUPPORTED_LOCALES__/$$j/g;' debian/config.in > debian/config
 
51
 
41
52
 
42
53
binary-indep:
43
54
        dh_testdir
45
56
binary-arch: install
46
57
        dh_testdir
47
58
        dh_testroot
48
 
        dh_installdocs debian/README.magic
 
59
        dh_installdocs debian/README.magic debian/NEWS.Debian
49
60
        dh_installman
50
61
        dh_installchangelogs
 
62
        #dh_installdebconf
51
63
        dh_strip
52
64
        dh_compress
53
65
        dh_fixperms