Mercurial > mplayer.hg
annotate debian/rules @ 1216:4059e05c480a
some info printfs moved stderr->stdout
author | arpi_esp |
---|---|
date | Sat, 23 Jun 2001 23:38:51 +0000 |
parents | 936cf314097f |
children | 8c8ed61a98c6 |
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 |
11 make | |
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 |