File: rules

package info (click to toggle)
libdvdnav 4.1.3-7
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 844 kB
  • ctags: 857
  • sloc: ansic: 7,273; sh: 364; makefile: 224; cpp: 71
file content (27 lines) | stat: -rwxr-xr-x 597 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

%:
	dh --with quilt ${@}

override_dh_auto_clean:
	[ ! -f config.mak ] || $(MAKE) distclean

	rm -rf doc/html doc/latex
	rm -f config.guess config.sub

override_dh_auto_configure:
	cp -f /usr/share/misc/config.guess .
	cp -f /usr/share/misc/config.sub .

	./configure2 $(CROSS) --prefix=/usr --disable-opts --disable-strip --with-dvdread=/usr/include/dvdread CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"

override_dh_auto_build:
	dh_auto_build

	cd doc && doxygen doxy.conf

override_dh_install:
	dh_install --fail-missing

override_dh_strip:
	dh_strip --dbg-package=libdvdnav-dbg