File: rules

package info (click to toggle)
linuxinfo 4.2.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,344 kB
  • sloc: sh: 5,320; ansic: 1,383; makefile: 103; sed: 16
file content (23 lines) | stat: -rwxr-xr-x 409 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

ifeq ($(DEB_HOST_ARCH),amd64)
	confflags += --with-pcre
else ifeq ($(DEB_HOST_ARCH),i386)
	confflags += --with-pcre
else ifeq ($(DEB_HOST_ARCH),x32)
	confflags += --with-pcre
endif

%:
	dh $@

override_dh_auto_configure:
		dh_auto_configure -- $(confflags)

override_dh_clean:
		dh_clean
		rm -f po/stamp-po
		rm -rf `find po -type f -name *.gmo`