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

Contents of /iodine/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1065 - (show annotations)
Mon Nov 26 20:02:59 2007 UTC (13 years, 8 months ago) by gregoa
File size: 1551 byte(s)
* Apply patch for "init script fails to restart", thanks to Horst
  Schirmeier (closes: #453001).
* debian/rules: make configure-stamp depend on patch.
1 #!/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 include /usr/share/dpatch/dpatch.make
13
14 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: patch
24 dh_testdir
25 touch configure-stamp
26
27 build: build-stamp
28 build-stamp: configure-stamp
29 dh_testdir
30 $(MAKE)
31 $(MAKE) test
32 touch $@
33
34 clean: unpatch
35 dh_testdir
36 dh_testroot
37 rm -f build-stamp configure-stamp
38 $(MAKE) clean
39 debconf-updatepo
40 dh_clean
41
42 install: build
43 dh_testdir
44 dh_testroot
45 $(MAKE) install PREFIX=debian/iodine/usr
46
47
48 # Build architecture-independent files here.
49 binary-indep: build install
50 # We have nothing to do by default.
51
52 # Build architecture-dependent files here.
53 binary-arch: build install
54 dh_testdir
55 dh_testroot
56 dh_installchangelogs CHANGELOG
57 dh_installdocs README
58 dh_installdebconf
59 dh_installinit --name=iodined
60 dh_link usr/share/man/man8/iodine.8 usr/share/man/man8/iodined.8
61 dh_strip
62 dh_compress
63 dh_fixperms
64 dh_installdeb
65 dh_shlibdeps
66 dh_gencontrol
67 dh_md5sums
68 dh_builddeb
69
70 binary: binary-indep binary-arch
71 .PHONY: build clean binary-indep binary-arch binary install configure

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26