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