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

Annotation of /iodine/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1368 - (hide annotations)
Thu Jul 24 15:42:47 2008 UTC (13 years ago) by gregoa
File size: 1683 byte(s)
Add example script iodine-jigger (script to set up an iodine tunnel and
route traffic through it) by Barak A. Pearlmutter (closes: #491294).
Thanks, Barak! Add copyright/license information about the script to
debian/copyright.
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 1323 include /usr/share/quilt/quilt.make
13 gregoa 668
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 gregoa 1323 configure-stamp: $(QUILT_STAMPFN)
24 gregoa 651 dh_testdir
25 gregoa 1097 touch $@
26 gregoa 651
27     build: build-stamp
28     build-stamp: configure-stamp
29     dh_testdir
30 gregoa 1166 CFLAGS="$(CFLAGS)" $(MAKE)
31     CFLAGS="$(CFLAGS)" $(MAKE) test
32 gregoa 651 touch $@
33    
34 gregoa 668 clean: unpatch
35 gregoa 651 dh_testdir
36     dh_testroot
37 gregoa 1118 rm -f build-stamp configure-stamp install-stamp
38 gregoa 651 $(MAKE) clean
39 gregoa 798 debconf-updatepo
40 gregoa 667 dh_clean
41 gregoa 651
42 gregoa 1118 install: install-stamp
43     install-stamp: build-stamp
44 gregoa 651 dh_testdir
45     dh_testroot
46 gregoa 1368 $(MAKE) install prefix=debian/iodine/usr
47 gregoa 1118 touch $@
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 gregoa 853 dh_installdocs README
60 gregoa 1368 dh_installexamples debian/iodine-jigger
61     dh_installdebconf
62 gregoa 651 dh_installinit --name=iodined
63 gregoa 667 dh_link usr/share/man/man8/iodine.8 usr/share/man/man8/iodined.8
64 gregoa 651 dh_strip
65 gregoa 670 dh_compress
66 gregoa 651 dh_fixperms
67     dh_installdeb
68     dh_shlibdeps
69     dh_gencontrol
70     dh_md5sums
71     dh_builddeb
72    
73     binary: binary-indep binary-arch
74     .PHONY: build clean binary-indep binary-arch binary install configure

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26