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

Contents of /cpulimit/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 255 - (show annotations)
Fri May 12 21:49:25 2006 UTC (15 years, 4 months ago) by gregoa
File size: 1680 byte(s)
* Move manpage from section 1 to 8.
* Initial upload to the Debian archive (closes: #nnnnnn).
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
13 CFLAGS = -Wall -g
14
15 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
16 CFLAGS += -O0
17 else
18 CFLAGS += -O2
19 endif
20
21 configure: configure-stamp
22 configure-stamp:
23 dh_testdir
24
25 touch configure-stamp
26
27
28 build: build-stamp
29
30 build-stamp: configure-stamp
31 dh_testdir
32
33 $(MAKE)
34
35 touch build-stamp
36
37 clean:
38 dh_testdir
39 dh_testroot
40 rm -f build-stamp configure-stamp
41
42 [ ! -f Makefile ] || $(MAKE) clean
43
44 dh_clean
45
46 install: build
47 dh_testdir
48 dh_testroot
49 dh_clean -k
50 dh_installdirs
51
52 install cpulimit $(CURDIR)/debian/cpulimit/usr/sbin
53
54
55 # Build architecture-independent files here.
56 binary-indep: build install
57 # We have nothing to do.
58
59 # Build architecture-dependent files here.
60 binary-arch: build install
61 dh_testdir
62 dh_testroot
63 dh_installchangelogs
64 dh_installdocs
65 dh_installexamples
66 # dh_install
67 # dh_installmenu
68 # dh_installdebconf
69 # dh_installlogrotate
70 # dh_installemacsen
71 # dh_installpam
72 # dh_installmime
73 # dh_installinit
74 # dh_installcron
75 # dh_installinfo
76 dh_installman debian/cpulimit.8
77 dh_link
78 dh_strip
79 dh_compress
80 dh_fixperms
81 # dh_perl
82 # dh_python
83 # dh_makeshlibs
84 dh_installdeb
85 dh_shlibdeps
86 dh_gencontrol
87 dh_md5sums
88 dh_builddeb
89
90 binary: binary-indep binary-arch
91 .PHONY: build clean binary-indep binary-arch binary install configure

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26