Mercurial > mplayer.hg
annotate debian/rules @ 5100:c1eeb9416fd1
added i18n support (also disabled, later auto detection will be enabled)
author | alex |
---|---|
date | Fri, 15 Mar 2002 20:48:42 +0000 |
parents | 0737156ad1f0 |
children | 769ed0711b48 |
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 | |
13 ifeq ($(arch),powerpc) | |
14 arch-conf += --disable-mp1e | |
15 endif | |
16 | |
18 | 17 |
1397 | 18 configure: configure-stamp |
19 configure-stamp: | |
20 dh_testdir | |
21 # Add here commands to configure the package. | |
18 | 22 $(checkdir) |
4059 | 23 ./configure --prefix=/usr --confdir=/etc/mplayer --enable-gui $(DEB_BUILD_OPTIONS) |
1397 | 24 |
25 touch configure-stamp | |
26 | |
27 build: configure-stamp build-stamp | |
28 build-stamp: | |
29 dh_testdir | |
30 | |
3632 | 31 # commands to compile the package. |
32 ${MAKE} | |
1397 | 33 |
34 touch build-stamp | |
18 | 35 |
36 clean: | |
1397 | 37 dh_testdir |
38 dh_testroot | |
39 rm -f build-stamp configure-stamp | |
18 | 40 |
3632 | 41 # commands to clean up after the build process. |
1719 | 42 -$(MAKE) distclean |
1397 | 43 dh_clean |
18 | 44 |
3632 | 45 # Build architecture-independent files here. |
46 binary-indep: build | |
47 # 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
|
48 |
3632 | 49 # Build architecture-dependent files here. |
50 binary-arch: build | |
1397 | 51 dh_testdir |
52 dh_testroot | |
53 dh_clean -k | |
54 dh_installdirs | |
55 | |
3632 | 56 # commands to install the package into debian/<packagename> |
4521
0737156ad1f0
Juergen Kreileder changes, fixing some lintian errors, adding correct manpath and adding
eyck
parents:
4059
diff
changeset
|
57 $(MAKE) prefix=$(prefix)/usr CONFDIR=$(prefix)/etc/mplayer DATADIR=$(prefix)/usr/share/mplayer MANDIR=$(prefix)/usr/share/man install |
0737156ad1f0
Juergen Kreileder changes, fixing some lintian errors, adding correct manpath and adding
eyck
parents:
4059
diff
changeset
|
58 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
|
59 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
|
60 |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
61 |
1397 | 62 dh_installdebconf |
1634
3249bbc48bf9
Changes to debian packaging based on patches by Josip Rodin (joy debian org)
eyck
parents:
1397
diff
changeset
|
63 dh_installdocs DOCS/* |
1733
220f86ac8c15
examples and started cleanup of rules by andre.dahlqvist@telia.com
eyck
parents:
1721
diff
changeset
|
64 dh_installexamples etc/example.conf |
1397 | 65 dh_installmenu |
66 # dh_installmime | |
67 dh_installinfo | |
68 dh_installchangelogs | |
69 dh_link | |
70 dh_strip | |
71 dh_compress | |
72 dh_fixperms | |
73 # dh_makeshlibs | |
74 dh_installdeb | |
75 dh_perl | |
76 dh_shlibdeps | |
77 dh_gencontrol | |
78 dh_md5sums | |
79 dh_builddeb | |
80 | |
81 | |
82 | |
83 #binary-arch: checkroot build | |
84 # $(checkdir) | |
85 # -rm -rf debian/tmp | |
86 # install -d debian/tmp | |
87 # cd debian/tmp && install -d `cat ../dirs` | |
88 | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
89 |
18 | 90 # Must have debmake installed for this to work. Otherwise please copy |
91 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd | |
1397 | 92 # debstd |
93 # dpkg-gencontrol -isp | |
94 # chown -R root.root debian/tmp | |
95 # chmod -R go=rX debian/tmp | |
96 # dpkg --build debian/tmp .. | |
18 | 97 |
98 binary: binary-indep binary-arch | |
99 | |
100 .PHONY: binary binary-arch binary-indep clean checkroot |