File: rules

package info (click to toggle)
libisoburn 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,436 kB
  • sloc: ansic: 41,586; sh: 10,301; makefile: 203; cpp: 44
file content (32 lines) | stat: -rwxr-xr-x 790 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
28
29
30
31
32
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

libburn_required = $(shell grep -o 'LIBBURN_REQUIRED=.*' configure.ac | cut -d= -f2-)
libisofs_required = $(shell grep -o 'LIBISOFS_REQUIRED=.*' configure.ac | cut -d= -f2-)


%:
	dh $@

override_dh_auto_build:
	@@ printf "\n*** libburn  required version: %s ***"     ${libburn_required}
	@@ printf "\n*** libisofs required version: %s ***\n\n" ${libisofs_required}
	dh $@

override_dh_installdocs:
ifneq (,$(filter libisoburn-doc, $(shell dh_listpackages)))
	doxygen doc/doxygen.conf
endif
	dh_installdocs

override_dh_strip:
	dh_strip --dbg-package=libisoburn-dbg

override_dh_makeshlibs:
	dh_makeshlibs -V

override_dh_clean:
	$(RM) -f doc/doxygen.conf 
	$(RM) -r doc/html
	if [ -f Makefile ]; then $(MAKE) clean; fi
	dh_clean