Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
4
5
6 configure: Makefile
7 Makefile: Makefile.PL
8 dh_testdir
9 perl Makefile.PL INSTALLDIRS=vendor
10
11 build-arch: build
12 build-indep: build
13
14 build: build-stamp
15
16 build-stamp: configure
17 dh_testdir
18 $(MAKE) OPTIMIZE="-O2 -g -Wall"
19 touch build-stamp
20
21 clean:
22 dh_testdir
23 dh_testroot
24 rm -f build-stamp
25 [ ! -f Makefile ] || $(MAKE) distclean
26 rm -f Makefile Makefile.old
27 dh_clean
28
29 # Build architecture-independent files here.
30 binary-indep: build
31 dh_testdir
32 dh_testroot
33 dh_clean
34 dh_installdirs
35 $(MAKE) test
36 $(MAKE) install DESTDIR=$(CURDIR)/debian/libyaml-shell-perl/
37 dh_install
38 dh_installdocs -n
39 dh_installchangelogs
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