Mercurial > mplayer.hg
annotate debian/rules @ 861:c80faaa2c2c1
some updates
author | arpi_esp |
---|---|
date | Thu, 24 May 2001 18:33:51 +0000 |
parents | 29a3f57d5e1d |
children | 936cf314097f |
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 # questionable quality of solution: |
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
37 mkdir -p debian/tmp/etc |
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
38 cp debian/mplayer.conf debian/tmp/etc/ |
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
39 |
18 | 40 # Must have debmake installed for this to work. Otherwise please copy |
41 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd | |
42 debstd | |
43 dpkg-gencontrol -isp | |
44 chown -R root.root debian/tmp | |
45 chmod -R go=rX debian/tmp | |
46 dpkg --build debian/tmp .. | |
47 | |
48 define checkdir | |
49 test -f debian/rules | |
50 endef | |
51 | |
52 binary: binary-indep binary-arch | |
53 | |
54 checkroot: | |
55 $(checkdir) | |
56 test root = "`whoami`" | |
57 | |
58 .PHONY: binary binary-arch binary-indep clean checkroot |