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