ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Compress-LZF/debian/rules
Revision: 1.1
Committed: Fri Jan 17 07:16:20 2003 UTC (21 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-3_7, rel-1_9, rel-1_71, rel-3_4, rel-3_1, rel-1_8, rel-1_5, rel-2_0, rel-3_8, rel-3_41, rel-3_42, rel-3_43, rel-1_7, rel-3_11, HEAD
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 #!/usr/bin/make -f
2    
3     export DH_COMPAT := 3
4    
5     PERL ?= /usr/bin/perl
6    
7     b := $(shell pwd)/debian/mlehmann-compress-lzf
8    
9     arrange: arrange-stamp
10     arrange-stamp: install
11     dh_testdir
12     touch arrange-stamp
13    
14     binary: binary-stamp
15     binary-stamp: binary-indep binary-arch
16     dh_testdir
17     touch binary-stamp
18    
19     binary-arch: binary-arch-stamp
20     binary-arch-stamp: arrange
21     dh_testdir
22     dh_testroot
23     #dh_installdocs ANNOUNCE
24     dh_installexamples
25     dh_installchangelogs -k README
26     dh_compress
27     dh_fixperms
28     dh_strip
29     dh_installdeb
30     dh_perl
31     dh_shlibdeps
32     dh_gencontrol
33     dh_md5sums
34     dh_builddeb
35     touch binary-arch-stamp
36    
37     binary-indep: binary-indep-stamp
38     binary-indep-stamp: arrange
39     dh_testdir
40     touch binary-indep-stamp
41    
42     build: build-stamp
43     build-stamp: config
44     dh_testdir
45     $(MAKE)
46     $(MAKE) test
47     touch build-stamp
48    
49     clean:
50     dh_testdir
51     dh_testroot
52     if [ -e Makefile ]; then $(MAKE) -i distclean; fi
53     dh_clean arrange-stamp binary-stamp binary-arch-stamp binary-indep-stamp build-stamp config-stamp install-stamp `find -name '*.bak'`
54    
55     config: config-stamp
56     config-stamp:
57     dh_testdir
58     $(PERL) Makefile.PL INSTALLDIRS=vendor
59     touch config-stamp
60    
61     install: install-stamp
62     install-stamp: build
63     dh_testdir
64     dh_installdirs
65     $(MAKE) install PREFIX=$(b)/usr
66     touch install-stamp
67    
68     .PHONY: arrange binary binary-arch binary-indep build clean config install