/[debian]/iodine/trunk/debian/rules
ViewVC logotype

Annotation of /iodine/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 668 - (hide annotations)
Fri Mar 30 20:11:47 2007 UTC (14 years, 4 months ago) by gregoa
File size: 1859 byte(s)
patch Makefile
1 gregoa 651 #!/usr/bin/make -f
2     # -*- makefile -*-
3     # Sample debian/rules that uses debhelper.
4     # This file was originally written by Joey Hess and Craig Small.
5     # As a special exception, when this file is copied by dh-make into a
6     # dh-make output file, you may use that output file without restriction.
7     # This special exception was added by Craig Small in version 0.37 of dh-make.
8    
9     # Uncomment this to turn on verbose mode.
10     #export DH_VERBOSE=1
11    
12 gregoa 668 include /usr/share/dpatch/dpatch.make
13    
14 gregoa 651 CFLAGS = -Wall -g
15    
16     ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
17     CFLAGS += -O0
18     else
19     CFLAGS += -O2
20     endif
21    
22     configure: configure-stamp
23     configure-stamp:
24     dh_testdir
25     touch configure-stamp
26    
27     build: build-stamp
28    
29     build-stamp: configure-stamp
30     dh_testdir
31     $(MAKE)
32 gregoa 668 # $(MAKE) test
33 gregoa 651 touch $@
34    
35 gregoa 668 clean: unpatch
36 gregoa 651 dh_testdir
37     dh_testroot
38     rm -f build-stamp configure-stamp
39     $(MAKE) clean
40 gregoa 667 dh_clean
41 gregoa 651
42 gregoa 668 install: build patch
43 gregoa 651 dh_testdir
44     dh_testroot
45     dh_installdirs
46 gregoa 668 $(MAKE) install PREFIX=$(CURDIR)/debian/iodine/usr
47     dh_clean
48 gregoa 651
49    
50     # Build architecture-independent files here.
51     binary-indep: build install
52     # We have nothing to do by default.
53    
54     # Build architecture-dependent files here.
55     binary-arch: build install
56     dh_testdir
57     dh_testroot
58     dh_installchangelogs CHANGELOG
59     dh_installdocs
60     # dh_installexamples
61     dh_install
62     # dh_installmenu
63     dh_installdebconf
64     # dh_installlogrotate
65     # dh_installemacsen
66     # dh_installpam
67     # dh_installmime
68     # dh_python
69     dh_installinit --name=iodine
70     dh_installinit --name=iodined
71     # dh_installcron
72     # dh_installinfo
73 gregoa 667 # dh_installman
74     dh_link usr/share/man/man8/iodine.8 usr/share/man/man8/iodined.8
75 gregoa 651 dh_strip
76 gregoa 668 dh_compress $(CURDIR)/debian/iodine/usr/share/man/man8/iodine.8
77 gregoa 651 dh_fixperms
78     # dh_perl
79     # dh_makeshlibs
80     dh_installdeb
81     dh_shlibdeps
82     dh_gencontrol
83     dh_md5sums
84     dh_builddeb
85    
86     binary: binary-indep binary-arch
87     .PHONY: build clean binary-indep binary-arch binary install configure

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26