annotate debian/rules @ 33159:18eb947fc34d

Do no run the ffmpeg git check/update during ./configure --help
author reimar
date Sat, 09 Apr 2011 22:09:09 +0000
parents 0aa4bfd6314e
children b64655a3a9bb
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 \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
47 --disable-arts \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
48 --enable-largefiles \
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
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
125 install -D -m 644 etc/mplayer.xpm \
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
126 $(CURDIR)/debian/mplayer-gui/usr/share/pixmaps/mplayer.xpm
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
127
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
128
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
129 # 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
130 install-arch: build-arch
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
131
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
132 ###### build-indep
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
133 DOCS/HTML/en/index.html:
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
134 sh debian/all-lang-config-mak.sh > config.mak
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
135 cd DOCS/xml && ./configure
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
136 $(MAKE) -C DOCS/xml html-chunked
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 build-indep:
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
139 dh_testdir
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
140 dh_prep -i
32431
a116d0fcea6e 10l, unbreak building of mplayer-doc package
siretart
parents: 32430
diff changeset
141 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
142
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
143 # commands to compile the documentation
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
144 install-indep: build-indep
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
145 dh_installchangelogs -i
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
146 dh_installdocs -i
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
147 dh_compress -i
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
148 dh_fixperms -i
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
149
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
150 ################ clean
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
151
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
152 clean:
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
153 dh_testdir
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
154 dh_testroot
32430
1ab876dcf5d6 Make clean target even more robust and forcefully remove generated HTML docs
siretart
parents: 32425
diff changeset
155 -test ! -f config.mak || ( $(MAKE) -C DOCS/xml releaseclean ; $(MAKE) distclean )
1ab876dcf5d6 Make clean target even more robust and forcefully remove generated HTML docs
siretart
parents: 32425
diff changeset
156 # in case the previous command fails for some reason, remove 'svn ignored' files
32758
ee56fbdc58ab Skip deleting HTML-single directory, which is no longer created.
diego
parents: 32432
diff changeset
157 rm -rf DOCS/HTML DOCS/codecs-status.html
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
158
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
159 # Build architecture-independent packages
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
160 binary-indep: install-indep
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
161
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
162 # Build architecture-dependent packages
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
163 binary-arch: install-arch
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
164 dh_testdir
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
165 dh_testroot
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
166 dh_install -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
167 dh_installchangelogs -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
168 dh_installdocs -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
169 dh_installexamples -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
170 dh_installmenu -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
171 dh_installmime -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
172 dh_installman -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
173 dh_strip -a --dbg-package=mplayer-dbg
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
174 dh_link
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
175 dh_compress -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
176 dh_fixperms -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
177 dh_makeshlibs -a
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
178 dh_installdeb
32425
0b221d9da48e don't fail debian package build if not all shlibdeps information could be retrieved
siretart
parents: 32402
diff changeset
179 dh_shlibdeps -- --ignore-missing-info
31833
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
180 dh_gencontrol
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
181 dh_md5sums
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
182 dh_builddeb
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
183
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
184 binary: binary-indep binary-arch
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
185
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
186 get-orig-source:
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
187 dh_testdir
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
188 sh debian/get-orig-source.sh -d $(SVN_VERSION)
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 PHONY += build clean binary-indep binary-arch binary-common binary
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
191 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
192 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
193
c9f9a077d760 Add new debian packaging based on official distro packages
siretart
parents:
diff changeset
194 .PHONY: $(PHONY)