Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /debian/rules [000000] .. [d040ac] Maximize Restore

  Switch to unified view

a b/debian/rules
1
#!/usr/bin/make -f
2
# debian/rules for libdvdcss - uses debhelper.
3
4
# Uncomment this to turn on verbose mode.
5
#export DH_VERBOSE=1
6
7
# This is the debhelper compatability version to use.
8
export DH_COMPAT=3
9
10
# Compilation options
11
export CONFIG_FLAGS="--prefix=/usr"
12
13
# Library options
14
version=$(shell grep '^ *LIBDVDCSS_VERSION=' configure.in | head -1 | sed 's/"//g' | cut -f2 -d=)
15
major=$(shell echo "$(version)" | cut -f1 -d.)
16
17
build: build-stamp
18
build-stamp:
19
  dh_testdir
20
21
  ./configure --prefix=/usr --mandir=$${prefix}/share/man \
22
      --infodir=$${prefix}/share/info
23
24
  $(MAKE)
25
26
  touch build-stamp
27
28
clean:
29
  dh_testdir
30
  dh_testroot
31
  rm -f build-stamp
32
33
  -$(MAKE) distclean
34
35
  dh_clean
36
37
install: build
38
  dh_testdir
39
  dh_testroot
40
  dh_clean -k
41
  dh_installdirs
42
43
  $(MAKE) install DESTDIR=`pwd`/debian/libdvdcss2/
44
45
  ln -s libdvdcss2 debian/libdvdcss2-dev/usr/share/doc/libdvdcss2-dev
46
  mv debian/libdvdcss2/usr/lib/*.so debian/libdvdcss2/usr/lib/*a \
47
      debian/libdvdcss2-dev/usr/lib/
48
  mv debian/libdvdcss2/usr/include debian/libdvdcss2-dev/usr/
49
50
# Build architecture-independent files here.
51
binary-indep: build install
52
# We have nothing to do by default.
53
54
# Build architecture-dependent files here.
55
binary-arch: build install
56
# dh_testversion
57
  dh_testdir
58
  dh_testroot
59
# dh_installdebconf   
60
  dh_installdocs AUTHORS README
61
# dh_installexamples
62
# dh_installmenu
63
# dh_installemacsen
64
# dh_installpam
65
# dh_installinit
66
# dh_installcron
67
# dh_installman
68
# dh_installinfo
69
# dh_undocumented
70
  dh_installchangelogs ChangeLog
71
  dh_link
72
  dh_strip
73
  dh_compress
74
  dh_fixperms
75
  dh_makeshlibs
76
  dh_installdeb
77
# dh_perl
78
79
  dh_shlibdeps
80
  dh_gencontrol
81
  dh_md5sums
82
  dh_builddeb
83
84
binary: binary-indep binary-arch
85
.PHONY: build clean binary-indep binary-arch binary install
86