File: rules

package info (click to toggle)
libpthread-stubs 0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,176 kB
  • ctags: 135
  • sloc: sh: 10,134; ansic: 147; makefile: 17
file content (18 lines) | stat: -rwxr-xr-x 487 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

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

%:
	dh $@ --with autoreconf --builddirectory=build

override_dh_auto_configure: debian/copyright
	dh_auto_configure --builddirectory=build

override_dh_auto_install:
	dh_auto_install --builddirectory=build --destdir=debian/tmp
	find debian/tmp -name '*.la' -delete

debian/copyright: debian/copyright.debian COPYING
	cat $+ > $@