/[collab-maint]/deb-maint/linuxlogo/trunk/debian/rules
ViewVC logotype

Contents of /deb-maint/linuxlogo/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 19353 - (hide annotations) (download)
Sat Oct 15 13:40:21 2011 UTC (20 months ago) by tolimar
File size: 1020 byte(s)
Add recommended targets to debian/rules

1 tolimar 15199 #!/usr/bin/make -f
2    
3 tolimar 15633 #include /usr/share/quilt/quilt.make
4 tolimar 15199
5 tolimar 15633 clean:
6     #unpatch
7 tolimar 15199 dh_testdir
8     dh_testroot
9     rm -f build-stamp
10    
11     [ ! -f Makefile ] || ./configure && $(MAKE) distclean
12    
13     dh_clean
14    
15 tolimar 15633 config.status: configure
16     #patch
17 tolimar 15199 dh_testdir
18    
19     CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" PREFIX=$(CURDIR)/debian/linuxlogo/usr ./configure
20    
21 tolimar 19353 build: build-arch build-indep
22     build-arch: build-stamp
23     build-indep: build-stamp
24 tolimar 15199 build-stamp: config.status
25     dh_testdir
26    
27     find ./logos -type f | sort > logo_config
28     $(MAKE) all
29    
30     touch build-stamp
31    
32     install: build
33     dh_testdir
34     dh_testroot
35     dh_prep
36     dh_installdirs
37    
38     $(MAKE) install
39    
40     binary: binary-arch
41    
42     binary-arch: install
43     dh_testdir
44     dh_testroot
45     dh_installchangelogs CHANGES
46     dh_installdocs
47     dh_installexamples
48     dh_install
49     dh_installman
50     dh_installmenu
51     dh_installinit --no-start -- start 99 2 3 4 5 .
52     dh_link
53     dh_strip
54     dh_compress
55     dh_fixperms
56     dh_installdeb
57     dh_shlibdeps
58     dh_gencontrol
59     dh_md5sums
60     dh_builddeb
61    
62     binary-indep:
63    
64     .PHONY: clean build install binary binary-arch binary-indep

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5