File: rules

package info (click to toggle)
kali 3.1-11
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 2,140 kB
  • ctags: 1,084
  • sloc: ansic: 3,452; makefile: 63
file content (18 lines) | stat: -rwxr-xr-x 349 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

ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
COPTS := -O2 -g -Wall
else
COPTS := -g -Wall
endif

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- FORMSINCL=-I/usr/include/X11 \
			 FORMSLIB="-L/usr/X11R6/lib -lforms" \
			 COPTS="$(COPTS)"

override_dh_auto_install:
	dh_auto_install -- BINDIR=$(CURDIR)/debian/kali/usr/bin