File: rules

package info (click to toggle)
gts 0.7.6+darcs121130-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 4,064 kB
  • ctags: 2,266
  • sloc: ansic: 28,888; sh: 11,522; makefile: 228
file content (32 lines) | stat: -rwxr-xr-x 763 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

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@ --with autoreconf

override_dh_auto_clean:
	dh_auto_clean
	rm -f src/predicates_init test/boolean/errors

override_dh_auto_configure:
	dh_auto_configure
	sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' \
		debian/libgts-dev.links.in > debian/libgts-dev.links

override_dh_auto_test:
	find test/ -name '*.sh' -exec chmod +x {} +
	dh_auto_test

override_dh_auto_install:
	dh_auto_install
	for file in debian/tmp/usr/lib/*/*.la; do \
		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
	done

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog

override_dh_strip:
	dh_strip -p libgts-0.7-5 --dbg-package=libgts-dbg
	dh_strip -s --remaining-packages