Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # debian/rules for libpam-chroot
3 # GNU copyright 1997 to 1999 by Joey Hess.
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8 # This is the debhelper compatability version to use.
9 # export DH_COMPAT=5
10
11 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
12
13
14 build: build-arch build-indep
15 build-arch: build-stamp
16 build-indep: build-stamp
17
18 build-stamp:
19 dh_testdir
20 dh_auto_build
21 touch build-stamp
22
23 clean:
24 dh_testdir
25 dh_testroot
26 rm -f build-stamp
27 -$(MAKE) clean
28 dh_clean
29
30 install: build
31 dh_testdir
32 dh_testroot
33 dh_installdirs
34 mkdir -p $(CURDIR)/debian/libpam-chroot/usr/lib/$(DEB_HOST_MULTIARCH)/security
35 # Add here commands to install the package into debian/libpam-chroot
36 $(MAKE) install DESTDIR=$(CURDIR)/debian/libpam-chroot LIBDIR=$(CURDIR)/debian/libpam-chroot/usr/lib/$(DEB_HOST_MULTIARCH)/security INSTALL="install --strip-program=true"
37
38
39 # Build architecture-independent files here.
40 binary-indep: build install
41 # We have nothing to do by default.
42
43 # Build architecture-dependent files here.
44 binary-arch: build install
45 dh_testdir
46 dh_testroot
47 # dh_movefiles
48
49 # dh_installdebconf
50 dh_installdocs options TROUBLESHOOTING
51 dh_installexamples debian/example/*
52 # dh_installpam
53 dh_installchangelogs
54 dh_link
55 dh_strip
56 dh_compress
57 dh_fixperms
58 dh_makeshlibs
59 dh_installdeb
60 dh_shlibdeps
61 dh_gencontrol
62 dh_md5sums
63 dh_builddeb
64
65 binary: binary-indep binary-arch
66 .PHONY: build clean binary-indep binary-arch binary install