File: rules

package info (click to toggle)
pev 0.81-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,016 kB
  • sloc: ansic: 20,531; xml: 558; makefile: 450; sh: 397; python: 40
file content (19 lines) | stat: -rwxr-xr-x 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS  = hardening=+all

# pass cross tools as command variables to make
include /usr/share/dpkg/buildtools.mk
export CC

%:
	dh $@
override_dh_auto_clean:
	dh_auto_clean
	$(RM) src/lib/libfuzzy/edit_dist.o src/lib/libfuzzy/fuzzy.o
override_dh_auto_build:
	dh_auto_build -- prefix=/usr pluginsdir=/usr/lib/pev/plugins
override_dh_auto_install:
	$(MAKE) prefix=/usr pluginsdir=/usr/lib/pev/plugins \
	    DESTDIR=$(CURDIR)/debian/pev install