Add ARM files
[dh-make-perl] / dev / arm / libarchive-zip-perl / libarchive-zip-perl-1.18 / debian / rules
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
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 PERL=/usr/bin/perl
9
10 configure: configure-stamp
11 configure-stamp:
12         dh_testdir
13         # Add here commands to configure the package.
14         $(PERL) Makefile.PL INSTALLDIRS=vendor
15
16         touch configure-stamp
17
18 build: configure-stamp build-stamp
19 build-stamp:
20         dh_testdir
21
22         # Add here commands to compile the package.
23         $(PERL) Makefile.PL
24         $(MAKE)
25
26         # Make sure it all seems to be working okay.
27         $(MAKE) test
28
29         touch build-stamp
30
31 clean:
32         dh_testdir
33         dh_testroot
34         rm -f build-stamp configure-stamp
35         rm -rf testdir extracted
36
37         # Add here commands to clean up after the build process.
38         -$(MAKE) clean
39
40         rm -f Makefile.old
41         dh_clean
42
43 install: build
44         dh_testdir
45         dh_testroot
46         dh_clean -k
47         dh_installdirs
48
49         # Add here commands to install the package into debian/tmp
50         $(MAKE) install INSTALLDIRS=vendor PREFIX=$(CURDIR)/debian/libarchive-zip-perl/usr
51         rm -rf $(CURDIR)/debian/libarchive-zip-perl/usr/lib
52
53 # Build architecture-independent files here.
54 binary-indep: build install
55 # We have nothing to do by default.
56
57 # Build architecture-dependent files here.
58 binary-arch: build install
59         dh_testdir
60         dh_testroot
61 #       dh_movefiles
62
63 #       dh_installdebconf       
64         dh_installdocs
65         dh_installexamples
66 #       dh_installmenu
67 #       dh_installlogrotate
68 #       dh_installemacsen
69 #       dh_installpam
70 #       dh_installmime
71 #       dh_installinit
72 #       dh_installcron
73         dh_installman
74 #       dh_installinfo
75 #       dh_undocumented
76         dh_installchangelogs Changes
77         dh_link
78 #       dh_strip
79         dh_compress
80         dh_fixperms
81 #       dh_makeshlibs
82         dh_installdeb
83         dh_perl
84 #       dh_shlibdeps
85         dh_gencontrol
86         dh_md5sums
87         dh_builddeb
88
89 binary: binary-indep binary-arch
90 .PHONY: build clean binary-indep binary-arch binary install configure