~mrooney/ecryptfs/nautilus-integration

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Dustin Kirkland
  • Date: 2009-05-01 20:10:26 UTC
  • Revision ID: kirkland@canonical.com-20090501201026-v9e4g8050r11nkct
sync some debian/ubuntu packaging differences

  [ Daniel Baumann & Dustin Kirkland ]
  * debian/rules, debian/control: sync differences between Debian & Ubuntu's
    packaging


Signed-off-by: Dustin Kirkland <kirkland@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
include /usr/share/dpatch/dpatch.make
4
4
 
5
 
DEB_BUILD_ARCH          ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
6
5
DEB_HOST_GNU_TYPE       ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
7
6
DEB_BUILD_GNU_TYPE      ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
8
7
 
14
13
        CFLAGS += -O2
15
14
endif
16
15
 
 
16
DEB_BUILD_ARCH          ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
17
 
17
18
ifneq ($(DEB_BUILD_ARCH),s390)
18
19
        TPMFLAGS = --enable-opencryptoki
19
20
endif
31
32
config.status: configure patch
32
33
        dh_testdir
33
34
 
 
35
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
 
36
        cp -f /usr/share/misc/config.guess config.guess
 
37
endif
34
38
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
35
39
        cp -f /usr/share/misc/config.sub config.sub
36
40
endif
37
 
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
38
 
        cp -f /usr/share/misc/config.guess config.guess
39
 
endif
40
41
        CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --libdir=\$${prefix}/lib --mandir=\$${prefix}/share/man --enable-static --enable-gpg --disable-gui --enable-pam --disable-openssl --disable-pkcs11-helper --disable-tspi $(TPMFLAGS)
41
42
 
42
43
build: build-stamp
56
57
        $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
57
58
        install -m 644 -D $(CURDIR)/debian/ecryptfs-utils.pam-auth-update $(CURDIR)/debian/tmp/usr/share/pam-configs/ecryptfs-utils
58
59
 
59
 
        #mv debian/tmp/usr/share/ecryptfs-* debian/ecryptfs-utils/usr/share/ecryptfs-utils
60
 
        #mv debian/tmp/usr/share/doc/ecryptfs-utils/ecryptfs-mount-private.txt debian/ecryptfs-utils/usr/share/ecryptfs-utils/ecryptfs-mount-private.txt
61
 
 
62
60
        chmod 4755 debian/tmp/sbin/mount.ecryptfs_private
63
61
 
64
62
        find debian/tmp -name "*.pyc" | xargs rm -f