Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
4
5 BUILDDIR=$(CURDIR)/debian/libcrypt-smbhash-perl
6
7 configure: Makefile
8 Makefile: Makefile.PL
9 dh_testdir
10 perl Makefile.PL INSTALLDIRS=vendor
11
12 build-arch: build
13 build-indep: build
14
15 build: build-stamp
16
17 build-stamp: configure
18 dh_testdir
19 $(MAKE) OPTIMIZE="-O2 -g -Wall"
20 touch build-stamp
21
22 clean:
23 dh_testdir
24 dh_testroot
25 rm -f build-stamp
26 [ ! -f Makefile ] || $(MAKE) clean
27 rm -f Makefile Makefile.old
28 dh_clean
29
30 # Build architecture-independent files here.
31 binary-indep: build
32 dh_testdir
33 dh_testroot
34 dh_clean
35 dh_installdirs
36 $(MAKE) test
37 $(MAKE) install DESTDIR=$(BUILDDIR)
38 dh_installdocs -n
39 dh_installchangelogs Changes
40 dh_compress
41 dh_fixperms
42 dh_installdeb
43 dh_perl
44 dh_gencontrol
45 dh_md5sums
46 dh_builddeb
47
48 # Build architecture-dependent files here.
49 binary-arch: build
50
51 binary: binary-indep binary-arch
52 .PHONY: build clean binary-indep binary-arch binary configure