Mercurial > mplayer.hg
annotate debian/rules @ 1733:220f86ac8c15
examples and started cleanup of rules by andre.dahlqvist@telia.com
author | eyck |
---|---|
date | Tue, 28 Aug 2001 19:34:32 +0000 |
parents | 1548cfd585e3 |
children | df6660716f69 |
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. | |
6 export DH_COMPAT=1 | |
18 | 7 |
8 package=mplayer | |
9 | |
1397 | 10 configure: configure-stamp |
11 configure-stamp: | |
12 dh_testdir | |
13 # Add here commands to configure the package. | |
18 | 14 $(checkdir) |
821 | 15 ./configure --prefix=/usr |
1397 | 16 |
17 touch configure-stamp | |
18 | |
19 build: configure-stamp build-stamp | |
20 build-stamp: | |
21 dh_testdir | |
22 | |
23 # Add here commands to compile the package. | |
24 #$(MAKE) | |
25 #/usr/bin/docbook-to-man debian/etherconf.sgml > etherconf.1 | |
1634
3249bbc48bf9
Changes to debian packaging based on patches by Josip Rodin (joy debian org)
eyck
parents:
1397
diff
changeset
|
26 ${MAKE} mplayer |
1397 | 27 |
28 touch build-stamp | |
18 | 29 |
30 clean: | |
1397 | 31 dh_testdir |
32 dh_testroot | |
33 rm -f build-stamp configure-stamp | |
18 | 34 |
1397 | 35 # Add here commands to clean up after the build process. |
36 #-$(MAKE) clean | |
37 # $(checkdir) | |
38 # -rm -f build | |
1719 | 39 -$(MAKE) distclean |
1397 | 40 # -rm -f `find . -name "*~"` |
41 # -rm -rf debian/tmp debian/files* core debian/substvars | |
42 dh_clean | |
18 | 43 |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
44 |
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
45 |
1397 | 46 install: build |
47 dh_testdir | |
48 dh_testroot | |
49 dh_clean -k | |
50 dh_installdirs | |
51 | |
52 # Add here commands to install the package into debian/<packagename> | |
53 # $(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install | |
1667 | 54 # $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr |
55 install -m 755 -s mplayer $(CURDIR)/debian/tmp/usr/bin/mplayer | |
56 #Do we really need this?: | |
57 # install -o root -g root -m 4755 fibmap_mplayer usr/bin/fibmap_mplayer | |
58 | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
59 |
1397 | 60 # Build architecture-independent files here. |
61 binary-indep: build install | |
62 # We have nothing to do by default. | |
63 | |
64 | |
65 # Build architecture-dependent files here. | |
66 binary-arch: build install | |
67 dh_testdir | |
68 dh_testroot | |
69 dh_installdebconf | |
1634
3249bbc48bf9
Changes to debian packaging based on patches by Josip Rodin (joy debian org)
eyck
parents:
1397
diff
changeset
|
70 dh_installdocs DOCS/* |
1733
220f86ac8c15
examples and started cleanup of rules by andre.dahlqvist@telia.com
eyck
parents:
1721
diff
changeset
|
71 dh_installexamples etc/example.conf |
1397 | 72 dh_installmenu |
73 # dh_installmime | |
1721
1548cfd585e3
No need for TVout/fbset/fbset.8, it conflicts with the one distributed by debian
eyck
parents:
1720
diff
changeset
|
74 dh_installmanpages TVout/fbset/fb.modes.5 TVout/fbset/fbset.8 |
1397 | 75 dh_installinfo |
76 # dh_undocumented | |
77 dh_installchangelogs | |
78 dh_link | |
79 dh_strip | |
80 dh_compress | |
81 dh_fixperms | |
82 # dh_makeshlibs | |
83 dh_installdeb | |
84 dh_perl | |
85 dh_shlibdeps | |
86 dh_gencontrol | |
87 dh_md5sums | |
88 dh_builddeb | |
89 | |
90 | |
91 | |
92 #binary-arch: checkroot build | |
93 # $(checkdir) | |
94 # -rm -rf debian/tmp | |
95 # install -d debian/tmp | |
96 # cd debian/tmp && install -d `cat ../dirs` | |
97 | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
98 |
18 | 99 # Must have debmake installed for this to work. Otherwise please copy |
100 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd | |
1397 | 101 # debstd |
102 # dpkg-gencontrol -isp | |
103 # chown -R root.root debian/tmp | |
104 # chmod -R go=rX debian/tmp | |
105 # dpkg --build debian/tmp .. | |
18 | 106 |
107 binary: binary-indep binary-arch | |
108 | |
109 .PHONY: binary binary-arch binary-indep clean checkroot |