Mercurial > mplayer.hg
annotate debian/rules @ 15193:35dc89f609f0
synced with 1.24
author | paszczi |
---|---|
date | Sat, 16 Apr 2005 19:02:41 +0000 |
parents | c87c407f4922 |
children | 0259420f1207 |
rev | line source |
---|---|
18 | 1 #!/usr/bin/make -f |
2 # Made with the aid of debmake, by Christoph Lameter, | |
3 # based on the sample debian/rules file for GNU hello by Ian Jackson. | |
1397 | 4 #export DH_VERBOSE=1 |
5 # This is the debhelper compatability version to use. | |
3974
90e7917f945f
Clean up - no longer needed comments, commented out older version of solutions.
eyck
parents:
3971
diff
changeset
|
6 export DH_COMPAT=3 |
18 | 7 |
3632 | 8 package := mplayer |
4521
0737156ad1f0
Juergen Kreileder changes, fixing some lintian errors, adding correct manpath and adding
eyck
parents:
4059
diff
changeset
|
9 prefix := $(shell pwd)/debian/$(package) |
0737156ad1f0
Juergen Kreileder changes, fixing some lintian errors, adding correct manpath and adding
eyck
parents:
4059
diff
changeset
|
10 |
3632 | 11 arch := $(shell dpkg --print-architecture) |
12 | |
18 | 13 |
1397 | 14 configure: configure-stamp |
15 configure-stamp: | |
16 dh_testdir | |
17 # Add here commands to configure the package. | |
18 | 18 $(checkdir) |
8404 | 19 ./configure --prefix=/usr --confdir=/etc/mplayer --enable-runtime-cpudetection --enable-gui $(DEB_BUILD_OPTIONS) |
1397 | 20 |
21 touch configure-stamp | |
22 | |
23 build: configure-stamp build-stamp | |
24 build-stamp: | |
25 dh_testdir | |
26 | |
3632 | 27 # commands to compile the package. |
28 ${MAKE} | |
1397 | 29 |
30 touch build-stamp | |
18 | 31 |
32 clean: | |
1397 | 33 dh_testdir |
34 dh_testroot | |
35 rm -f build-stamp configure-stamp | |
18 | 36 |
3632 | 37 # commands to clean up after the build process. |
1719 | 38 -$(MAKE) distclean |
10915
230d73616bbc
Remove generated files at cleaning, and install some more examples.
lumag
parents:
9986
diff
changeset
|
39 rm -f help_mp.h config.h config.mak libao2/config.mak libvo/config.mak Gui/config.mak |
1397 | 40 dh_clean |
18 | 41 |
3632 | 42 # Build architecture-independent files here. |
43 binary-indep: build | |
44 # We have nothing to do by default. | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
45 |
3632 | 46 # Build architecture-dependent files here. |
47 binary-arch: build | |
1397 | 48 dh_testdir |
49 dh_testroot | |
50 dh_clean -k | |
51 dh_installdirs | |
52 | |
3632 | 53 # commands to install the package into debian/<packagename> |
7263 | 54 $(MAKE) prefix=$(prefix)/usr BINDIR=$(prefix)/usr/bin CONFDIR=$(prefix)/etc/mplayer LIBDIR=$(prefix)/usr/lib DATADIR=$(prefix)/usr/share/mplayer MANDIR=$(prefix)/usr/share/man install |
12727 | 55 |
4521
0737156ad1f0
Juergen Kreileder changes, fixing some lintian errors, adding correct manpath and adding
eyck
parents:
4059
diff
changeset
|
56 dh_link usr/bin/mplayer usr/bin/gmplayer \ |
0737156ad1f0
Juergen Kreileder changes, fixing some lintian errors, adding correct manpath and adding
eyck
parents:
4059
diff
changeset
|
57 usr/share/man/man1/mplayer.1.gz usr/share/man/man1/gmplayer.1.gz |
0737156ad1f0
Juergen Kreileder changes, fixing some lintian errors, adding correct manpath and adding
eyck
parents:
4059
diff
changeset
|
58 |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
59 |
1397 | 60 dh_installdebconf |
9705 | 61 dh_installdocs --exclude=CVS --exclude=mplayer.1 DOCS/* |
10915
230d73616bbc
Remove generated files at cleaning, and install some more examples.
lumag
parents:
9986
diff
changeset
|
62 dh_installexamples etc/example.conf etc/dvb-menu.conf etc/input.conf etc/menu.conf |
1397 | 63 dh_installmenu |
13100
17e40e9b7654
mime handling support, patch by Konstantin G. Khlebnikov <c00nst@ezmail.ru>
diego
parents:
12784
diff
changeset
|
64 dh_installmime |
1397 | 65 dh_installinfo |
9986
4bdd248d372e
Start fixing gabbucino changes that broke the package.
eyck
parents:
9705
diff
changeset
|
66 dh_installchangelogs |
4bdd248d372e
Start fixing gabbucino changes that broke the package.
eyck
parents:
9705
diff
changeset
|
67 #ChangeLog |
1397 | 68 dh_link |
69 dh_strip | |
70 dh_compress | |
71 dh_fixperms | |
72 # dh_makeshlibs | |
73 dh_installdeb | |
74 dh_perl | |
75 dh_shlibdeps | |
76 dh_gencontrol | |
77 dh_md5sums | |
78 dh_builddeb | |
79 | |
80 | |
81 | |
82 #binary-arch: checkroot build | |
83 # $(checkdir) | |
84 # -rm -rf debian/tmp | |
85 # install -d debian/tmp | |
86 # cd debian/tmp && install -d `cat ../dirs` | |
87 | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
88 |
18 | 89 # Must have debmake installed for this to work. Otherwise please copy |
90 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd | |
1397 | 91 # debstd |
92 # dpkg-gencontrol -isp | |
93 # chown -R root.root debian/tmp | |
94 # chmod -R go=rX debian/tmp | |
95 # dpkg --build debian/tmp .. | |
18 | 96 |
97 binary: binary-indep binary-arch | |
98 | |
99 .PHONY: binary binary-arch binary-indep clean checkroot |