Mercurial > mplayer.hg
annotate debian/rules @ 33484:4f940d7917f0
Provide a desktop icon of reasonable size (48x48) and quality.
All three icon files (ico, png and xpm) derive from the same
48x48 graphic which itself derives from the svg at
http://en.wikipedia.org/wiki/File:MPlayer.svg.
GUI's icon has been renamed mplayer.xpm (from MPlayer_mini.xpm)
and the format of the icon to be installed has been changed
from xpm to png.
author | ib |
---|---|
date | Tue, 07 Jun 2011 15:16:22 +0000 |
parents | b64655a3a9bb |
children | 77c1b5736020 |
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 --language=all \ |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
49 $(archconf) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
50 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
51 ifeq ($(DEB_HOST_ARCH),i386) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
52 #configure optimizes for the cpu detected at ./configure time |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
53 #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
|
54 archconf += --target=i586-linux |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
55 CONFIGURE_FLAGS += --enable-runtime-cpudetection |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
56 endif |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
57 ifeq ($(DEB_HOST_ARCH),amd64) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
58 CONFIGURE_FLAGS += --enable-runtime-cpudetection |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
59 endif |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
60 ifeq ($(DEB_HOST_ARCH),kfreebsd-i386) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
61 CONFIGURE_FLAGS += --enable-runtime-cpudetection |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
62 endif |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
63 ifeq ($(DEB_HOST_ARCH),kfreebsd-amd64) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
64 CONFIGURE_FLAGS += --enable-runtime-cpudetection |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
65 endif |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
66 ifeq ($(DEB_HOST_ARCH),powerpc) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
67 CONFIGURE_FLAGS += --enable-runtime-cpudetection |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
68 endif |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
69 ifeq ($(DEB_HOST_ARCH),alpha) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
70 #Avoid high optimization through gcc. |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
71 # 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
|
72 archconf += --target=alpha_ev5-linux |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
73 endif |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
74 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
75 # 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
|
76 # see bug #520113 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
77 ifeq (,$(findstring mips,$(DEB_HOST_ARCH))) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
78 CONFIGURE_FLAGS += --enable-debug |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
79 endif |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
80 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
81 ifeq (linux,$(DEB_HOST_ARCH_OS)) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
82 CONFIGURE_FLAGS += --enable-mga --enable-3dfx --enable-tdfxfb |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
83 endif |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
84 |
31863
4b6dc3f9b281
restore functionality to be able to pass custom configure flags or override the used compiler
siretart
parents:
31833
diff
changeset
|
85 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
|
86 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
|
87 endif |
31833
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
88 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
89 build: build-arch build-indep |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
90 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
91 ####### build-arch |
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 dh_testdir |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
94 dh_prep -a |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
95 $(MAKE) -f debian/rules debian/mplayer/usr/bin/mplayer |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
96 $(MAKE) -f debian/rules debian/mencoder/usr/bin/mencoder |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
97 $(MAKE) -f debian/rules debian/mplayer-gui/usr/bin/gmplayer |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
98 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
99 # build non-gui version |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
100 # & mencoder |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
101 debian/mplayer/usr/bin/mplayer debian/mencoder/usr/bin/mencoder: |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
102 dh_testdir |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
103 $(CLEAN_ENV) \ |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
104 ./configure $(CONFIGURE_FLAGS) --disable-gui |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
105 $(CLEAN_ENV) \ |
32999
0aa4bfd6314e
make buildlogs in debian/ubuntu buildlogs verbose
siretart
parents:
32758
diff
changeset
|
106 $(MAKE) $(NUMJOBS) mplayer mencoder V=1 |
31833
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
107 $(MAKE) install-mplayer DESTDIR=$(CURDIR)/debian/mplayer |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
108 $(MAKE) install-mplayer-man DESTDIR=$(CURDIR)/debian/mplayer |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
109 $(MAKE) install-mencoder DESTDIR=$(CURDIR)/debian/mencoder |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
110 $(MAKE) install-mencoder-man DESTDIR=$(CURDIR)/debian/mplayer |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
111 install -D -m 644 debian/mplayer.conf \ |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
112 $(CURDIR)/debian/mplayer/etc/mplayer/mplayer.conf |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
113 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
114 # build gui version |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
115 debian/mplayer-gui/usr/bin/gmplayer: |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
116 dh_testdir |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
117 $(CLEAN_ENV) \ |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
118 ./configure $(CONFIGURE_FLAGS) --enable-gui |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
119 $(CLEAN_ENV) \ |
32999
0aa4bfd6314e
make buildlogs in debian/ubuntu buildlogs verbose
siretart
parents:
32758
diff
changeset
|
120 $(MAKE) $(NUMJOBS) mplayer V=1 |
31833
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
121 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
|
122 install -D -m 644 etc/mplayer.desktop \ |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
123 $(CURDIR)/debian/mplayer-gui/usr/share/applications/mplayer.desktop |
33484
4f940d7917f0
Provide a desktop icon of reasonable size (48x48) and quality.
ib
parents:
33233
diff
changeset
|
124 install -D -m 644 etc/mplayer.png \ |
4f940d7917f0
Provide a desktop icon of reasonable size (48x48) and quality.
ib
parents:
33233
diff
changeset
|
125 $(CURDIR)/debian/mplayer-gui/usr/share/pixmaps/mplayer.png |
31833
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
126 |
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 # 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
|
129 install-arch: build-arch |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
130 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
131 ###### build-indep |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
132 DOCS/HTML/en/index.html: |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
133 sh debian/all-lang-config-mak.sh > config.mak |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
134 cd DOCS/xml && ./configure |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
135 $(MAKE) -C DOCS/xml html-chunked |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
136 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
137 build-indep: |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
138 dh_testdir |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
139 dh_prep -i |
32431 | 140 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
|
141 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
142 # commands to compile the documentation |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
143 install-indep: build-indep |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
144 dh_installchangelogs -i |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
145 dh_installdocs -i |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
146 dh_compress -i |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
147 dh_fixperms -i |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
148 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
149 ################ clean |
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 clean: |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
152 dh_testdir |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
153 dh_testroot |
32430
1ab876dcf5d6
Make clean target even more robust and forcefully remove generated HTML docs
siretart
parents:
32425
diff
changeset
|
154 -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
|
155 # 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
|
156 rm -rf DOCS/HTML DOCS/codecs-status.html |
31833
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 # Build architecture-independent packages |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
159 binary-indep: install-indep |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
160 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
161 # Build architecture-dependent packages |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
162 binary-arch: install-arch |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
163 dh_testdir |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
164 dh_testroot |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
165 dh_install -a |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
166 dh_installchangelogs -a |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
167 dh_installdocs -a |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
168 dh_installexamples -a |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
169 dh_installmenu -a |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
170 dh_installmime -a |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
171 dh_installman -a |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
172 dh_strip -a --dbg-package=mplayer-dbg |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
173 dh_link |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
174 dh_compress -a |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
175 dh_fixperms -a |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
176 dh_makeshlibs -a |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
177 dh_installdeb |
32425
0b221d9da48e
don't fail debian package build if not all shlibdeps information could be retrieved
siretart
parents:
32402
diff
changeset
|
178 dh_shlibdeps -- --ignore-missing-info |
31833
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
179 dh_gencontrol |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
180 dh_md5sums |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
181 dh_builddeb |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
182 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
183 binary: binary-indep binary-arch |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
184 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
185 get-orig-source: |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
186 dh_testdir |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
187 sh debian/get-orig-source.sh -d $(SVN_VERSION) |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
188 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
189 PHONY += build clean binary-indep binary-arch binary-common binary |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
190 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
|
191 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
|
192 |
c9f9a077d760
Add new debian packaging based on official distro packages
siretart
parents:
diff
changeset
|
193 .PHONY: $(PHONY) |