~ubuntu-branches/debian/jessie/phpldapadmin/jessie

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2009-03-16 14:54:15 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090316145415-7dsvj319dd02h83j
Tags: 1.1.0.6-1
* New upstream release. (Closes: #518578)
* debian/rules: removed "-m 644" from the dh_install call. (Closes: #518847)
* debian/postrm: remove config.php at purge time. (Closes: #519086)
* debian/patches/hungarian.dpatch: fixed a hungarian translation.
  (Closes: #505559)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
                -path '*/debian/*' -or \
24
24
                -path '*/templates/*' -or \
25
25
                -path '*/doc/*' -or \
 
26
                -path '*/lang' -or \
 
27
                -path '*/tools/po/*' -or \
26
28
                -name 'Makefile' -or \
27
29
                -name 'INSTALL' -or \
28
30
                -name 'LICENSE' -or \
30
32
                -name 'COPYING' -or \
31
33
                -name 'build-stamp' \
32
34
        \) -exec install -D --mode=644 {} debian/phpldapadmin/usr/share/phpldapadmin/{} \;
33
 
        find ./templates -type f -exec install -D --mode=644 {} debian/phpldapadmin/etc/phpldapadmin/{} \;
 
35
        find ./templates -type f -a -not -name .cvsignore -exec install -D --mode=644 {} \
 
36
        debian/phpldapadmin/etc/phpldapadmin/{} \;
34
37
        for po in debian/phpldapadmin/usr/share/phpldapadmin/locale/*/LC_MESSAGES/*.po; do \
35
38
            (cd `dirname $$po`; msgfmt messages.po); \
36
39
        done
47
50
        dh_install
48
51
        dh_compress
49
52
        dh_fixperms
50
 
        dh_install -m 644 debian/conf/apache.conf /etc/phpldapadmin/
 
53
        dh_install debian/conf/apache.conf /etc/phpldapadmin/
51
54
        dh_link /etc/phpldapadmin/templates /usr/share/phpldapadmin/templates
52
55
        dh_link /usr/share/doc/phpldapadmin /usr/share/phpldapadmin/doc
53
56
        dh_installdebconf -pphpldapadmin