~ubuntu-branches/ubuntu/lucid/ecryptfs-utils/lucid

2 by William Lima
* Initial release.
1
#!/usr/bin/make -f
2
56 by Dustin Kirkland
Merged upstream release
3
PKG=ecryptfs-utils
4
PO_DIR=debian/po
5
10 by Daniel Baumann
* Reordering rules file.
6
DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
7
DEB_BUILD_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
6 by Daniel Baumann
New upstream release.
8
51 by Dustin Kirkland, Dustin Kirkland, Michal Hlavinka (edits by Dustin Kirkland), Dustin Kirkland and Daniel Baumann, Arfrever Frehtes Taifersar Arahesis, David Hicks, Michael Rooney
[ Dustin Kirkland ]
9
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
10
	CROSS=CC=$(DEB_HOST_GNU_TYPE)-gcc
6 by Daniel Baumann
New upstream release.
11
else
51 by Dustin Kirkland, Dustin Kirkland, Michal Hlavinka (edits by Dustin Kirkland), Dustin Kirkland and Daniel Baumann, Arfrever Frehtes Taifersar Arahesis, David Hicks, Michael Rooney
[ Dustin Kirkland ]
12
	CROSS=
2 by William Lima
* Initial release.
13
endif
14
49 by Dustin Kirkland, Dustin Kirkland, Tyler Hicks, Michal Hlavinka, anrxc & Dustin Kirkland, Daniel Baumann & Dustin Kirkland, Arfrever Frehtes Taifersar Arahesis, Frédéric Guihéry
[ Dustin Kirkland ]
15
DEB_BUILD_ARCH		?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
16
51 by Dustin Kirkland, Dustin Kirkland, Michal Hlavinka (edits by Dustin Kirkland), Dustin Kirkland and Daniel Baumann, Arfrever Frehtes Taifersar Arahesis, David Hicks, Michael Rooney
[ Dustin Kirkland ]
17
clean:
2 by William Lima
* Initial release.
18
	dh_testdir
19
	dh_testroot
6 by Daniel Baumann
New upstream release.
20
	rm -f build-stamp
10 by Daniel Baumann
* Reordering rules file.
21
	rm -f config.guess config.sub
63 by Dustin Kirkland, David Planella, Yan Li, Dustin Kirkland
[ David Planella ]
22
	rm -f po/*.pot
6 by Daniel Baumann
New upstream release.
23
24
	[ ! -f Makefile ] || $(MAKE) distclean
10 by Daniel Baumann
* Reordering rules file.
25
26
	dh_clean
27
51 by Dustin Kirkland, Dustin Kirkland, Michal Hlavinka (edits by Dustin Kirkland), Dustin Kirkland and Daniel Baumann, Arfrever Frehtes Taifersar Arahesis, David Hicks, Michael Rooney
[ Dustin Kirkland ]
28
config.status: configure
10 by Daniel Baumann
* Reordering rules file.
29
	dh_testdir
6 by Daniel Baumann
New upstream release.
30
49 by Dustin Kirkland, Dustin Kirkland, Tyler Hicks, Michal Hlavinka, anrxc & Dustin Kirkland, Daniel Baumann & Dustin Kirkland, Arfrever Frehtes Taifersar Arahesis, Frédéric Guihéry
[ Dustin Kirkland ]
31
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
32
	cp -f /usr/share/misc/config.guess config.guess
33
endif
6 by Daniel Baumann
New upstream release.
34
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
35
	cp -f /usr/share/misc/config.sub config.sub
36
endif
51 by Dustin Kirkland, Dustin Kirkland, Michal Hlavinka (edits by Dustin Kirkland), Dustin Kirkland and Daniel Baumann, Arfrever Frehtes Taifersar Arahesis, David Hicks, Michael Rooney
[ Dustin Kirkland ]
37
64 by Dustin Kirkland
debian/rules, debian/control: disable the gpg key module,
38
	./configure $(CROSS) --prefix=/usr --libdir=\$${prefix}/lib --mandir=\$${prefix}/share/man --enable-static --disable-gpg --enable-nss --disable-gui --enable-pam --disable-openssl --disable-pkcs11-helper --disable-tspi CFLAGS="$(CFLAGS)"
10 by Daniel Baumann
* Reordering rules file.
39
40
build: build-stamp
41
build-stamp: config.status
42
	dh_testdir
43
44
	$(MAKE)
63 by Dustin Kirkland, David Planella, Yan Li, Dustin Kirkland
[ David Planella ]
45
	cd po; intltool-update -p
10 by Daniel Baumann
* Reordering rules file.
46
47
	touch build-stamp
2 by William Lima
* Initial release.
48
63 by Dustin Kirkland, David Planella, Yan Li, Dustin Kirkland
[ David Planella ]
49
install: build
2 by William Lima
* Initial release.
50
	dh_testdir
51
	dh_testroot
8.1.5 by Daniel Baumann
* Replacing obsolete dh_clean -k with dh_prep.
52
	dh_prep
6 by Daniel Baumann
New upstream release.
53
54
	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
51 by Dustin Kirkland, Dustin Kirkland, Michal Hlavinka (edits by Dustin Kirkland), Dustin Kirkland and Daniel Baumann, Arfrever Frehtes Taifersar Arahesis, David Hicks, Michael Rooney
[ Dustin Kirkland ]
55
56
	install -D -m 0644 debian/local/ecryptfs-utils.pam-auth-update debian/ecryptfs-utils/usr/share/pam-configs/ecryptfs-utils
6 by Daniel Baumann
New upstream release.
57
16 by Dustin Kirkland
* Merge from debian unstable (LP: #248420), remaining changes:
58
	chmod 4755 debian/tmp/sbin/mount.ecryptfs_private
59
8.1.6 by Daniel Baumann
* Merging upstream version 65:
60
	find debian/tmp -name "*.pyc" | xargs rm -f
61
10 by Daniel Baumann
* Reordering rules file.
62
binary: binary-arch
2 by William Lima
* Initial release.
63
51 by Dustin Kirkland, Dustin Kirkland, Michal Hlavinka (edits by Dustin Kirkland), Dustin Kirkland and Daniel Baumann, Arfrever Frehtes Taifersar Arahesis, David Hicks, Michael Rooney
[ Dustin Kirkland ]
64
binary-arch: install
2 by William Lima
* Initial release.
65
	dh_testdir
66
	dh_testroot
8.2.2 by Daniel Baumann
* Merging upstream version 68:
67
	dh_installchangelogs ChangeLog
2 by William Lima
* Initial release.
68
	dh_installdocs
19 by Dustin Kirkland
* Merge from debian unstable (LP: #254714, #251245), remaining changes:
69
	dh_install --fail-missing --sourcedir=debian/tmp
63 by Dustin Kirkland, David Planella, Yan Li, Dustin Kirkland
[ David Planella ]
70
	dh_installinit --noscripts --error-handler=true --name=ecryptfs-utils-save
71
	dh_installinit --noscripts --error-handler=true --name=ecryptfs-utils-restore
16 by Dustin Kirkland
* Merge from debian unstable (LP: #248420), remaining changes:
72
	dh_lintian
8.1.1 by Daniel Baumann
* Adding /usr/lib/libecryptfs.so.0.0 symlink.
73
	dh_link
2 by William Lima
* Initial release.
74
	dh_strip
75
	dh_compress
16 by Dustin Kirkland
* Merge from debian unstable (LP: #248420), remaining changes:
76
	dh_fixperms -Xsbin/mount.ecryptfs_private
2 by William Lima
* Initial release.
77
	dh_makeshlibs
78
	dh_installdeb
6 by Daniel Baumann
New upstream release.
79
	dh_shlibdeps
2 by William Lima
* Initial release.
80
	dh_gencontrol
81
	dh_md5sums
82
	dh_builddeb
83
10 by Daniel Baumann
* Reordering rules file.
84
binary-indep:
85
86
.PHONY: clean build install binary binary-arch binary-indep