File: rules

package info (click to toggle)
madplay 0.15.2b-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,188 kB
  • ctags: 2,078
  • sloc: ansic: 17,882; sh: 9,397; makefile: 504; yacc: 288; sed: 16
file content (44 lines) | stat: -rwxr-xr-x 1,317 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
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DEB_CONFIGURE_EXTRA_FLAGS:=--enable-shared
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
DEB_CONFIGURE_EXTRA_FLAGS :+= --enable-profiling --enable-debugging
else
DEB_CONFIGURE_EXTRA_FLAGS :+= --disable-profiling --disable-debugging
endif

DEB_AUTO_UPDATE_LIBTOOL:=pre
DEB_AUTO_UPDATE_ACLOCAL:=1.10
DEB_AUTO_UPDATE_AUTOHEADER:=1.10
DEB_AUTO_UPDATE_AUTOMAKE:=1.10
DEB_AUTO_UPDATE_AUTOCONF:=yes

include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_MAKE_INSTALL_TARGET:=

clean::
	# Remove auto generated / updated files so they don't show in the
	# the diff.
	-rm m4/Makefile.in Makefile.in msvc++/Makefile.in
	-rm aclocal.m4 configure ltmain.sh
	-rm -r autom4te.cache
	-rm NEWS AUTHORS ChangeLog
	# cdbs is broken (#299010), and we need to clean those up ourself.
	# Note that they get generated again by libtoolize and not by
	# cdbs itself.
	-rm config.guess config.sub
	-rm config.guess.cdbs-orig config.sub.cdbs-orig

post-patches::
	# touch aclocal.m4 so we have that file and cdbs regenerates it.
	touch aclocal.m4
	# Those files are required by automake
	touch NEWS AUTHORS ChangeLog