Mercurial > mplayer.hg
annotate debian/rules @ 1393:5eef9e69b145
Beginning sse optimization of dct code.
author | atmos4 |
---|---|
date | Fri, 27 Jul 2001 17:21:23 +0000 |
parents | d216f62ce921 |
children | 225b8fb7653f |
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. | |
4 | |
5 package=mplayer | |
6 | |
7 build: | |
8 $(checkdir) | |
821 | 9 ./configure --prefix=/usr |
18 | 10 make dep |
1229 | 11 make mplayer |
18 | 12 touch build |
13 | |
14 clean: | |
15 $(checkdir) | |
16 -rm -f build | |
17 -$(MAKE) distclean | |
18 -rm -f `find . -name "*~"` | |
19 -rm -rf debian/tmp debian/files* core debian/substvars | |
20 | |
21 binary-indep: checkroot build | |
22 $(checkdir) | |
23 # There are no architecture-independent files to be uploaded | |
24 # generated by this package. If there were any they would be | |
25 # made here. | |
26 | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
27 |
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
28 |
18 | 29 binary-arch: checkroot build |
30 $(checkdir) | |
31 -rm -rf debian/tmp | |
32 install -d debian/tmp | |
33 cd debian/tmp && install -d `cat ../dirs` | |
34 $(MAKE) install prefix=`pwd`/debian/tmp/usr | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
35 |
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
36 |
18 | 37 # Must have debmake installed for this to work. Otherwise please copy |
38 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd | |
39 debstd | |
40 dpkg-gencontrol -isp | |
41 chown -R root.root debian/tmp | |
42 chmod -R go=rX debian/tmp | |
43 dpkg --build debian/tmp .. | |
44 | |
45 define checkdir | |
46 test -f debian/rules | |
47 endef | |
48 | |
49 binary: binary-indep binary-arch | |
50 | |
51 checkroot: | |
52 $(checkdir) | |
53 test root = "`whoami`" | |
54 | |
55 .PHONY: binary binary-arch binary-indep clean checkroot |