File: rules

package info (click to toggle)
ncftp 2%3A3.2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,124 kB
  • sloc: ansic: 41,900; sh: 3,577; perl: 874; makefile: 854; cpp: 612
file content (31 lines) | stat: -rwxr-xr-x 749 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
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/architecture.mk

DPKG_EXPORT_BUILDTOOLS=1
include /usr/share/dpkg/buildtools.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
DEB_CFLAGS_MAINT_APPEND = -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall

BINDIR=$(CURDIR)/debian/ncftp/usr/bin
MANDIR=$(CURDIR)/debian/ncftp/usr/share/man/man1

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf sh/autoconfall.sh

override_dh_auto_configure:
	dh_auto_configure -- --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)

override_dh_install:
	dh_install
	mv $(BINDIR)/ncftp $(BINDIR)/ncftp3
	mv $(MANDIR)/ncftp.1 $(MANDIR)/ncftp3.1