File: rules

package info (click to toggle)
imlib2 1.4.2-8%2Bdeb6u1
  • links: PTS
  • area: main
  • in suites: squeeze-lts
  • size: 4,252 kB
  • ctags: 1,944
  • sloc: ansic: 33,183; asm: 20,011; sh: 8,919; makefile: 292
file content (32 lines) | stat: -rwxr-xr-x 593 bytes parent folder | download | duplicates (2)
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

configure := --enable-mmx=no --prefix=/usr --exec-prefix=/usr --disable-amd64

%:
	dh $@

binary binary-arch binary-indep: install

ifneq ($(USE_BUILD_DIR),TRUE)

include debian/builddir.mk

else

build: debian/stamp-build
debian/stamp-build:
	dh build --before dh_auto_configure
	autoreconf -fi
	dh_auto_configure -- $(configure)
	dh build --after dh_auto_configure
	touch $@

install: build debian/stamp-install
debian/stamp-install:
	dh install --until dh_prep
	dh_installdocs AUTHORS README TODO
	dh_installchangelogs ChangeLog
	dh install --remaining
	touch $@

endif