~ubuntu-branches/ubuntu/saucy/apt-cacher-ng/saucy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Eduard Bloch
  • Date: 2011-08-07 17:53:21 UTC
  • mfrom: (24.2.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110807175321-k80jrotzovldgu3c
* New upstream version
  + fixes various regressions
* removed dependency on libfuse2 (now used via dlopen, moved to Suggests)
* support new build-* targets in rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
        touch configure-stamp
30
30
 
31
 
 
32
 
build: build-stamp
33
 
 
34
 
build-stamp: configure-stamp 
 
31
build: build-arch build-indep
 
32
 
 
33
build-indep:
 
34
 
 
35
build-arch: configure-stamp 
35
36
        dh_testdir
36
 
 
37
 
        # Add here commands to compile the package.
38
37
        $(MAKE) -j$(NUMJOBS)
39
 
        # may fail if halibut is not installed, doesn't matter
40
 
        -$(MAKE) doc
41
 
        #docbook-to-man debian/apt-cacher-ng.sgml > apt-cacher-ng.1
 
38
        # may fail if halibut is not installed, doesn't matter. Also modifies binary pdf and format is not 3.0 yet
 
39
        #-$(MAKE) doc
42
40
        @-test -d ../unstripped && cp build/apt-cacher-ng ../unstripped/apt-cacher-ng.$$(dpkg-parsechangelog |grep ^Version: | cut -f2 -d' ') || true
43
41
        touch $@
44
42
 
72
70
        ln -sf ../../var/lib/apt-cacher-ng/backends_ubuntu.default $(CDIR)/backends_ubuntu.default
73
71
 
74
72
# Build architecture-independent files here.
75
 
binary-indep: build install
76
 
# We have nothing to do by default.
 
73
binary-indep: build-indep install
77
74
 
78
75
# Build architecture-dependent files here.
79
 
binary-arch: build install
 
76
binary-arch: build-arch install
80
77
        dh_testdir
81
78
        dh_testroot
82
79
        dh_installchangelogs ChangeLog
83
80
        dh_installdocs
84
81
        dh_installexamples conf/*.conf conf/debrep.hooks
85
 
#       dh_install
86
 
#       dh_installmenu
87
82
        dh_installdebconf       
88
83
        dh_installlogrotate
89
 
#       dh_installemacsen
90
 
#       dh_installpam
91
 
#       dh_installmime
92
 
#       dh_python
93
84
        dh_installinit
94
85
        dh_installcron
95
 
#       dh_installinfo
96
86
        dh_installman doc/man/*.8
97
 
        #dh_installman doc/man/apt-cacher-ng.8
98
87
        dh_link
99
88
        dh_strip
100
89
        dh_compress -X.pdf
101
90
        dh_fixperms
102
 
#       dh_perl
103
 
#       dh_makeshlibs
104
91
        dh_installdeb
105
92
        dh_shlibdeps
106
93
        dh_gencontrol