File: rules

package info (click to toggle)
luxio 8-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 504 kB
  • ctags: 476
  • sloc: ansic: 3,014; makefile: 142; sh: 24
file content (21 lines) | stat: -rwxr-xr-x 426 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_build:
	$(MAKE) \
		CFLAGS="$$(dpkg-buildflags --get CPPFLAGS) $$(dpkg-buildflags --get CFLAGS) -O2 -Wall" \
		LDFLAGS="$$(dpkg-buildflags --get LDFLAGS)"

override_dh_auto_install:
	PREFIX=/usr dh_auto_install
	rm -r debian/lua-luxio0/usr/bin

override_dh_auto_clean:
	$(MAKE) clean

override_dh_auto_test:
	echo "No test suite."