File: rules

package info (click to toggle)
cftp 0.12-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 968 kB
  • ctags: 853
  • sloc: ansic: 9,541; sh: 327; makefile: 92
file content (45 lines) | stat: -rwxr-xr-x 757 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/make -f

# This script uses debhelper by Joey Hess
export DH_VERBOSE=1
DEB=debian/tmp

build:	build-stamp

build-stamp:
	dh_testdir
	# build package
	./configure --prefix=debian/tmp/usr
	$(MAKE) LOCAL_LDFLAGS=-s
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp
	-$(MAKE) -i distclean
	dh_clean

binary-indep:	build

binary-arch:	build
	dh_testdir
	dh_testroot
	dh_clean
	dh_installdirs bin
	cp cftp $(DEB)/bin
	dh_installdocs README THANKS TODO AUTHORS
	dh_installinfo cftp.info
	dh_installchangelogs ChangeLog
	dh_installman cftp.1
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary:	binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary