File: rules

package info (click to toggle)
imlib2 1.4.5-1%2Bdeb7u2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 4,540 kB
  • sloc: ansic: 33,203; asm: 20,013; sh: 10,516; makefile: 313
file content (30 lines) | stat: -rwxr-xr-x 651 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
#!/usr/bin/make -f

configure := --enable-mmx=no --disable-amd64 $(shell dpkg-buildflags --export=configure)

%:
	dh $@

binary binary-arch binary-indep: install

ifneq ($(USE_BUILD_DIR),TRUE)

include debian/builddir.mk

else

override_dh_auto_configure:
	autoreconf -fi
	dh_auto_configure -- $(configure)

override_dh_installchangelogs:                                                         
	dh_installchangelogs ChangeLog                                                 

override_dh_auto_install:
	dh_auto_install
	find debian/tmp/usr/lib/ -name *.la | \
		xargs -r -ifoo sed -i "/dependency_libs/s/'.*'/''/" foo

override_dh_auto_test:

endif