annotate debian/rules @ 35883:804c3926503b

Fix a potential integer overflow.
author reimar
date Sat, 16 Mar 2013 10:32:42 +0000
parents ad22be82d79a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
1 #!/usr/bin/make -f
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
2
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
3 # This has to be exported to make some magic below work.
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
4 export DH_OPTIONS
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
5
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
6 # Support multiple makes at once
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
7 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
8 NUMJOBS = -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
9 else
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
10 # on i386 and amd64, we query the system unless overriden by DEB_BUILD_OPTIONS
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
11 ifeq ($(DEB_BUILD_ARCH),i386)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
12 NUMJOBS := -j$(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
13 else ifeq ($(DEB_BUILD_ARCH),amd64)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
14 NUMJOBS := -j$(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
15 endif
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
16 endif
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
17
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
18
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
19 # do not run the actual rules of this makefile in parallel. sub-makes
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
20 # can go in parallel
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
21 .NOTPARALLEL:
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
22
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
23 ############
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
24
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
25 DEB_SOURCE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
26 DEB_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
27 UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -r 's/[^:]+://; s/-[^-]+$$//')
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
28 SVN_VERSION := $(shell echo $(UPSTREAM_VERSION) | sed -nr 's/^[0-9.:-~]+\+svn([0-9]+)$$/\1/p')
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
29
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
30
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
31 #UPSTREAMSOURCE := upstream SVN repository
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
32 UPSTREAMSOURCE := http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc1.tar.bz2
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
33
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
34 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
35 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
36 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
37 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
38 DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
39
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
40
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
41 # XXX enable-menu is frowned upon by upstream
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
42 CONFIGURE_FLAGS = \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
43 --prefix=/usr \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
44 --confdir=/etc/mplayer \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
45 --enable-xvmc \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
46 --enable-menu \
34568
ad22be82d79a enable radio support, addresses https://launchpad.net/bugs/593548
siretart
parents: 34480
diff changeset
47 --enable-radio --enable-radio-capture \
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
48 --disable-arts \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
49 --language=all \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
50 $(archconf)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
51
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
52 ifeq ($(DEB_HOST_ARCH),i386)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
53 #configure optimizes for the cpu detected at ./configure time
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
54 #in order to build a generic binary, avoid non-standard opcodes through gcc
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
55 archconf += --target=i586-linux
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
56 CONFIGURE_FLAGS += --enable-runtime-cpudetection
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
57 endif
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
58 ifeq ($(DEB_HOST_ARCH),amd64)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
59 CONFIGURE_FLAGS += --enable-runtime-cpudetection
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
60 endif
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
61 ifeq ($(DEB_HOST_ARCH),kfreebsd-i386)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
62 CONFIGURE_FLAGS += --enable-runtime-cpudetection
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
63 endif
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
64 ifeq ($(DEB_HOST_ARCH),kfreebsd-amd64)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
65 CONFIGURE_FLAGS += --enable-runtime-cpudetection
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
66 endif
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
67 ifeq ($(DEB_HOST_ARCH),powerpc)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
68 CONFIGURE_FLAGS += --enable-runtime-cpudetection
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
69 endif
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
70 ifeq ($(DEB_HOST_ARCH),alpha)
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
71 #Avoid high optimization through gcc.
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
72 # see http://permalink.gmane.org/gmane.linux.debian.ports.alpha/7295
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
73 archconf += --target=alpha_ev5-linux
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
74 endif
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
75
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
76 # generate debugging symbols for mplayer-dbg for all archs but mipsen,
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
77 # see bug #520113
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
78 ifeq (,$(findstring mips,$(DEB_HOST_ARCH)))
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
79 CONFIGURE_FLAGS += --enable-debug
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
80 endif
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
81
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
82 ifeq (linux,$(DEB_HOST_ARCH_OS))
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
83 CONFIGURE_FLAGS += --enable-mga --enable-3dfx --enable-tdfxfb
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
84 endif
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
85
31863
4b6dc3f9b281 restore functionality to be able to pass custom configure flags or override the used compiler
siretart
parents: 31833
diff changeset
86 ifneq (,$(DEB_EXTRA_CONFIGURE_FLAGS))
4b6dc3f9b281 restore functionality to be able to pass custom configure flags or override the used compiler
siretart
parents: 31833
diff changeset
87 CONFIGURE_FLAGS += $(DEB_EXTRA_CONFIGURE_FLAGS)
4b6dc3f9b281 restore functionality to be able to pass custom configure flags or override the used compiler
siretart
parents: 31833
diff changeset
88 endif
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
89
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
90 build: build-arch build-indep
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
91
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
92 ####### build-arch
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
93 build-arch:
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
94 dh_testdir
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
95 dh_prep -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
96 $(MAKE) -f debian/rules debian/mplayer/usr/bin/mplayer
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
97 $(MAKE) -f debian/rules debian/mencoder/usr/bin/mencoder
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
98 $(MAKE) -f debian/rules debian/mplayer-gui/usr/bin/gmplayer
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
99
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
100 # build non-gui version
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
101 # & mencoder
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
102 debian/mplayer/usr/bin/mplayer debian/mencoder/usr/bin/mencoder:
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
103 dh_testdir
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
104 $(CLEAN_ENV) \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
105 ./configure $(CONFIGURE_FLAGS) --disable-gui
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
106 $(CLEAN_ENV) \
32999
0aa4bfd6314e make buildlogs in debian/ubuntu buildlogs verbose
siretart
parents: 32758
diff changeset
107 $(MAKE) $(NUMJOBS) mplayer mencoder V=1
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
108 $(MAKE) install-mplayer DESTDIR=$(CURDIR)/debian/mplayer
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
109 $(MAKE) install-mplayer-man DESTDIR=$(CURDIR)/debian/mplayer
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
110 $(MAKE) install-mencoder DESTDIR=$(CURDIR)/debian/mencoder
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
111 $(MAKE) install-mencoder-man DESTDIR=$(CURDIR)/debian/mplayer
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
112 install -D -m 644 debian/mplayer.conf \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
113 $(CURDIR)/debian/mplayer/etc/mplayer/mplayer.conf
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
114
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
115 # build gui version
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
116 debian/mplayer-gui/usr/bin/gmplayer:
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
117 dh_testdir
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
118 $(CLEAN_ENV) \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
119 ./configure $(CONFIGURE_FLAGS) --enable-gui
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
120 $(CLEAN_ENV) \
32999
0aa4bfd6314e make buildlogs in debian/ubuntu buildlogs verbose
siretart
parents: 32758
diff changeset
121 $(MAKE) $(NUMJOBS) mplayer V=1
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
122 install -D -m 755 mplayer $(CURDIR)/debian/mplayer-gui/usr/bin/gmplayer
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
123 install -D -m 644 etc/mplayer.desktop \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
124 $(CURDIR)/debian/mplayer-gui/usr/share/applications/mplayer.desktop
34480
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
125 install -D -m 644 etc/mplayer16x16.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
126 $(CURDIR)/debian/mplayer-gui/usr/share/icons/hicolor/16x16/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
127 install -D -m 644 etc/mplayer22x22.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
128 $(CURDIR)/debian/mplayer-gui/usr/share/icons/hicolor/22x22/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
129 install -D -m 644 etc/mplayer24x24.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
130 $(CURDIR)/debian/mplayer-gui/usr/share/icons/hicolor/24x24/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
131 install -D -m 644 etc/mplayer32x32.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
132 $(CURDIR)/debian/mplayer-gui/usr/share/icons/hicolor/32x32/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
133 install -D -m 644 etc/mplayer48x48.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
134 $(CURDIR)/debian/mplayer-gui/usr/share/icons/hicolor/48x48/apps/mplayer.png
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
135 install -D -m 644 etc/mplayer256x256.png \
6c6fb701fa8e Add differently sized, new icons for the GUI.
ib
parents: 34277
diff changeset
136 $(CURDIR)/debian/mplayer-gui/usr/share/icons/hicolor/256x256/apps/mplayer.png
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
137
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
138
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
139 # binaries already installed via build rules as we have to build several flavors
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
140 install-arch: build-arch
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
141
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
142 ###### build-indep
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
143 DOCS/HTML/en/index.html:
34277
e85a6a143edf debian: adjust documentation build process, which now works non-recursively
diego
parents: 34234
diff changeset
144 $(MAKE) html-chunked
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
145
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
146 build-indep:
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
147 dh_testdir
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
148 dh_prep -i
32431
a116d0fcea6e 10l, unbreak building of mplayer-doc package
siretart
parents: 32430
diff changeset
149 test -f DOCS/HTML/en/index.html || $(MAKE) -f debian/rules DOCS/HTML/en/index.html
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
150
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
151 # commands to compile the documentation
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
152 install-indep: build-indep
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
153 dh_installchangelogs -i
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
154 dh_installdocs -i
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
155 dh_compress -i
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
156 dh_fixperms -i
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
157
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
158 ################ clean
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
159
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
160 clean:
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
161 dh_testdir
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
162 dh_testroot
34234
4ec96d5d2e4c build: drop releaseclean target
diego
parents: 34233
diff changeset
163 -test -f config.mak && $(MAKE) distclean
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
164
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
165 # Build architecture-independent packages
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
166 binary-indep: install-indep
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
167
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
168 # Build architecture-dependent packages
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
169 binary-arch: install-arch
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
170 dh_testdir
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
171 dh_testroot
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
172 dh_install -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
173 dh_installchangelogs -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
174 dh_installdocs -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
175 dh_installexamples -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
176 dh_installmenu -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
177 dh_installmime -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
178 dh_installman -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
179 dh_strip -a --dbg-package=mplayer-dbg
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
180 dh_link
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
181 dh_compress -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
182 dh_fixperms -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
183 dh_makeshlibs -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
184 dh_installdeb
32425
0b221d9da48e don't fail debian package build if not all shlibdeps information could be retrieved
siretart
parents: 32402
diff changeset
185 dh_shlibdeps -- --ignore-missing-info
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
186 dh_gencontrol
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
187 dh_md5sums
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
188 dh_builddeb
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
189
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
190 binary: binary-indep binary-arch
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
191
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
192 PHONY += build clean binary-indep binary-arch binary-common binary
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
193 PHONY += install binary binary-arch binary-indep clean checkroot get-orig-source
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
194 PHONY += autocontrol fix-orig-source copy-orig-from-svn download-and-unpack-orig
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
195
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
196 .PHONY: $(PHONY)