~ubuntu-branches/ubuntu/precise/liboggz/precise

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Wilkinson
  • Date: 2005-04-16 01:19:44 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050416011944-5ipwrrc260ihkpp8
Tags: 0.9.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
22
22
        CFLAGS += -g
23
23
endif
24
 
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
25
 
        INSTALL_PROGRAM += -s
26
 
endif
27
24
 
28
25
config.status: configure
29
26
        dh_testdir
52
49
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
53
50
        cp -f /usr/share/misc/config.guess config.guess
54
51
endif
 
52
        rm -rf debian/oggz-tools-dbg
55
53
        dh_clean 
56
54
 
57
55
install: build
64
62
# Build architecture-independent files here.
65
63
binary-indep: build install
66
64
 
67
 
 
68
65
# Build architecture-dependent files here.
69
66
binary-arch: build install
70
67
        dh_testdir
71
68
        dh_testroot
72
 
        dh_movefiles
73
 
        dh_installchangelogs ChangeLog
74
 
        dh_installdocs
75
 
        dh_installexamples
76
 
#       dh_install
77
 
#       dh_installmenu
78
 
#       dh_installdebconf       
79
 
#       dh_installlogrotate
80
 
#       dh_installemacsen
81
 
#       dh_installpam
82
 
#       dh_installmime
83
 
#       dh_installinit
84
 
#       dh_installcron
85
 
#       dh_installinfo
86
 
        dh_installman
87
 
        dh_link
88
 
        dh_strip
89
 
        dh_compress
90
 
        dh_fixperms
91
 
#       dh_perl
92
 
#       dh_python
93
 
        dh_makeshlibs
94
 
        dh_installdeb
95
 
        dh_shlibdeps -ldebian/liboggz1/usr/lib
96
 
        dh_gencontrol
97
 
        dh_md5sums
98
 
        dh_builddeb
 
69
        dh_movefiles -a
 
70
        dh_installchangelogs -a ChangeLog
 
71
        dh_installdocs -a
 
72
        dh_installexamples -a
 
73
        dh_installman -a
 
74
        dh_link -a
 
75
        dh_strip -a --keep-debug --dbg-package=liboggz1 --dbg-package=oggz-tools
 
76
# move the oggz-tools-dbg stuff into liboggz-dbg
 
77
        cp -a $(CURDIR)/debian/oggz-tools-dbg/* $(CURDIR)/debian/liboggz1-dbg/
 
78
        rm -rf $(CURDIR)/debian/oggz-tools-dbg
 
79
        dh_compress -a
 
80
        dh_fixperms -a
 
81
        dh_makeshlibs -a
 
82
        dh_installdeb -a
 
83
        dh_shlibdeps -a -ldebian/liboggz1/usr/lib
 
84
        dh_gencontrol -a
 
85
        dh_md5sums -a
 
86
        dh_builddeb -a
99
87
 
100
88
binary: binary-indep binary-arch
101
89
.PHONY: build clean binary-indep binary-arch binary install