Mercurial > mplayer.hg
annotate debian/rules @ 1634:3249bbc48bf9
Changes to debian packaging based on patches by Josip Rodin (joy debian org)
author | eyck |
---|---|
date | Wed, 22 Aug 2001 20:58:50 +0000 |
parents | 225b8fb7653f |
children | 6185549842e7 |
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} dep |
3249bbc48bf9
Changes to debian packaging based on patches by Josip Rodin (joy debian org)
eyck
parents:
1397
diff
changeset
|
27 ${MAKE} mplayer |
1397 | 28 |
29 touch build-stamp | |
18 | 30 |
31 clean: | |
1397 | 32 dh_testdir |
33 dh_testroot | |
34 rm -f build-stamp configure-stamp | |
18 | 35 |
1397 | 36 # Add here commands to clean up after the build process. |
37 #-$(MAKE) clean | |
38 # $(checkdir) | |
39 # -rm -f build | |
40 # -$(MAKE) distclean | |
41 # -rm -f `find . -name "*~"` | |
42 # -rm -rf debian/tmp debian/files* core debian/substvars | |
43 dh_clean | |
18 | 44 |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
45 |
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
46 |
1397 | 47 install: build |
48 dh_testdir | |
49 dh_testroot | |
50 dh_clean -k | |
51 dh_installdirs | |
52 | |
53 # Add here commands to install the package into debian/<packagename> | |
54 # $(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install | |
1634
3249bbc48bf9
Changes to debian packaging based on patches by Josip Rodin (joy debian org)
eyck
parents:
1397
diff
changeset
|
55 $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
56 |
1397 | 57 # Build architecture-independent files here. |
58 binary-indep: build install | |
59 # We have nothing to do by default. | |
60 | |
61 | |
62 # Build architecture-dependent files here. | |
63 binary-arch: build install | |
64 dh_testdir | |
65 dh_testroot | |
66 dh_installdebconf | |
1634
3249bbc48bf9
Changes to debian packaging based on patches by Josip Rodin (joy debian org)
eyck
parents:
1397
diff
changeset
|
67 dh_installdocs DOCS/* |
1397 | 68 dh_installexamples |
69 dh_installmenu | |
70 # dh_installlogrotate | |
71 # dh_installemacsen | |
72 # dh_installpam | |
73 # dh_installmime | |
74 # dh_installinit | |
75 # dh_installcron | |
76 dh_installman | |
77 dh_installinfo | |
78 # dh_undocumented | |
79 dh_installchangelogs | |
80 dh_link | |
81 dh_strip | |
82 dh_compress | |
83 dh_fixperms | |
84 # dh_makeshlibs | |
85 dh_installdeb | |
86 dh_perl | |
87 dh_shlibdeps | |
88 dh_gencontrol | |
89 dh_md5sums | |
90 dh_builddeb | |
91 | |
92 | |
93 | |
94 #binary-arch: checkroot build | |
95 # $(checkdir) | |
96 # -rm -rf debian/tmp | |
97 # install -d debian/tmp | |
98 # cd debian/tmp && install -d `cat ../dirs` | |
99 | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
100 |
18 | 101 # Must have debmake installed for this to work. Otherwise please copy |
102 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd | |
1397 | 103 # debstd |
104 # dpkg-gencontrol -isp | |
105 # chown -R root.root debian/tmp | |
106 # chmod -R go=rX debian/tmp | |
107 # dpkg --build debian/tmp .. | |
18 | 108 |
109 binary: binary-indep binary-arch | |
110 | |
111 .PHONY: binary binary-arch binary-indep clean checkroot |