]> git.sesse.net Git - vlc/blob - debian/rules-css
* Made the remote command plugin usable even with no stream.
[vlc] / debian / rules-css
1 #!/usr/bin/make -f
2 # debian/rules for the VideoLAN Client - uses debhelper.
3 # based on Joey Hess's one.
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8 # This is the debhelper compatability version to use.
9 export DH_COMPAT=3
10
11 build: build-stamp
12 build-stamp:
13         dh_testdir
14
15         if [ $(DEB_BUILD_ARCH) = i386 ]; then \
16         ./configure --prefix=/usr \
17                 --mandir=\$${prefix}/share/man \
18                 --infodir=\$${prefix}/share/info \
19                 --disable-gnome --disable-gtk --enable-fb --without-glide \
20                 --without-ggi --without-sdl --disable-esd --disable-alsa \
21                 --disable-ppro ; \
22         else \
23         ./configure --prefix=/usr \
24                 --mandir=\$${prefix}/share/man \
25                 --infodir=\$${prefix}/share/info \
26                 --disable-gnome --disable-gtk --enable-fb --without-ggi \
27                 --without-sdl --disable-esd --disable-alsa; \
28         fi
29
30         $(MAKE) lib/dvd.so
31
32         touch build-stamp
33
34 clean:
35         dh_testdir
36         dh_testroot
37         rm -f build-stamp
38
39         -$(MAKE) distclean
40
41         dh_clean
42
43 install: build
44         dh_testdir
45         dh_testroot
46         dh_clean -k
47         dh_installdirs
48
49         # make symlinks for packages
50         mkdir -p debian/vlc-css/usr/share/doc/
51         ln -s vlc debian/vlc-css/usr/share/doc/vlc-css
52         mkdir -p debian/vlc-css/usr/lib/videolan/vlc/
53         cp lib/dvd.so debian/vlc-css/usr/lib/videolan/vlc/dvd-css.so
54
55 # Build architecture-independent files here.
56 binary-indep: build install
57 # We have nothing to do by default.
58
59 # Build architecture-dependent files here.
60 binary-arch: build install
61 #       dh_testversion
62         dh_testdir
63         dh_testroot
64 #       dh_installdebconf       
65         dh_installdocs
66         dh_installexamples
67 #       dh_installmenu
68 #       dh_installemacsen
69 #       dh_installpam
70 #       dh_installinit
71         dh_installcron
72 #       dh_installmanpages
73         dh_installinfo
74 #       dh_undocumented
75         dh_installchangelogs
76         dh_link
77         dh_strip
78         dh_compress
79         dh_fixperms
80 #       dh_makeshlibs
81         dh_installdeb
82 #       dh_perl
83         dh_shlibdeps
84         dh_gencontrol
85         dh_md5sums
86         dh_builddeb
87
88 binary: binary-indep binary-arch
89 .PHONY: build clean binary-indep binary-arch binary install