File: rules

package info (click to toggle)
ne 3.3.4-3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,556 kB
  • sloc: ansic: 25,614; perl: 572; makefile: 265; ruby: 232; sh: 38
file content (20 lines) | stat: -rwxr-xr-x 559 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
BUILDDIR := $(CURDIR)/debian/tmp

%:
	dh $@ --no-parallel

override_dh_auto_clean:
	dh_auto_clean
	rm -f src/version.texinfo

override_dh_auto_build:
	dh_auto_build -- -Wall PREFIX=/usr NE_GLOBAL_DIR=/usr/share/ne LIBS=-ltinfo STRIP=true

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(BUILDDIR) PREFIX=/usr
	# upstream does not ship ne.info.gz maximally compressed, so
	# uncompress it here and let dh_compress later do the job right
	gunzip $(BUILDDIR)/usr/share/info/ne.info*.gz