File: rules

package info (click to toggle)
libinnodb 1.0.6.6750-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 8,072 kB
  • ctags: 7,325
  • sloc: ansic: 107,290; sh: 9,930; lex: 664; yacc: 530; makefile: 335; perl: 46
file content (47 lines) | stat: -rwxr-xr-x 921 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
45
46
47
#!/usr/bin/make -f

include /usr/share/quilt/quilt.make

TMP=$(CURDIR)/debian/tmp/

override_dh_auto_configure:
	autoreconf -fi
	dh_auto_configure

override_dh_auto_test:


build: patch build-stamp
build-stamp:
	dh build
	touch build-stamp

clean: clean-patched unpatch
clean-patched:
	dh clean

install: build install-stamp
install-stamp:
	dh --until auto_install install
	# Run gensymbols
	dpkg-gensymbols -c1 -plibinnodb2 -P${TMP}
	dh --remaining install
	mv ${TMP}/usr/share/embedded_innodb-1.0/examples ${CURDIR}/debian/libinnodb-dev/usr/share/doc/libinnodb-dev
	touch install-stamp


binary-arch: install
	dh binary-arch --before strip
	dh_strip --dbg-package=libinnodb-dbg
	dh binary-arch --after strip


binary-indep: install
	dh binary-indep

binary: binary-arch binary-indep

get-orig-source:
	uscan --verbose --force-download --rename --repack --destdir=..

.PHONY: clean-patched patch unpatch get-orig-source