File: rules

package info (click to toggle)
synfig 0.64.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 17,052 kB
  • ctags: 7,479
  • sloc: cpp: 67,760; sh: 16,258; ansic: 4,244; makefile: 1,371; csh: 243; sed: 16
file content (39 lines) | stat: -rwxr-xr-x 798 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
#!/usr/bin/make -f

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

# reduce needless linking
LDFLAGS+= -Wl,--as-needed

%:
	dh $@ --parallel --with autoreconf

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- \
			--with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
			--sysconfdir=/etc/synfig \
			--enable-debug=half \
			--with-imagemagick \
			--without-included-ltdl
#			--with-libavcodec
#			--mandir=\$${prefix}/share/man \

override_dh_auto_install:
	chmod a-x examples/*.sifz
	dh_auto_install --destdir=$(CURDIR)/debian/tmp

override_dh_makeshlibs:
	dh_makeshlibs -V

override_dh_compress:
	dh_compress --exclude=.sifz

override_dh_strip:
	dh_strip --dbg-package=synfig-dbg

override_dh_builddeb:
	dh_builddeb -- -Zxz