File: rules

package info (click to toggle)
lua-lpeg 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 312 kB
  • sloc: ansic: 2,607; makefile: 48
file content (14 lines) | stat: -rwxr-xr-x 341 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
ifeq "$(DEB_HOST_ARCH)" "sparc"
  DEB_BUILD_OPTIONS+= noopt
else ifeq "$(DEB_HOST_ARCH)" "mips"
  DEB_BUILD_OPTIONS+= noopt
else ifeq "$(DEB_HOST_ARCH)" "mipsel"
  DEB_BUILD_OPTIONS+= noopt
endif
export DEB_BUILD_OPTIONS

%:
	dh $@ --buildsystem=lua --with lua