File: rules

package info (click to toggle)
newsraft 0.34-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,140 kB
  • sloc: ansic: 12,318; makefile: 76; sh: 28; xml: 21
file content (16 lines) | stat: -rwxr-xr-x 424 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
include /usr/share/dpkg/buildflags.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
	make man html

override_dh_auto_test:
	dh_auto_test -- CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

override_dh_auto_install:
	dh_auto_install -- PREFIX=/usr EXAMPLES_DIR=/usr/share/doc/newsraft/examples