File: rules

package info (click to toggle)
lcrack 20040914-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 276 kB
  • ctags: 202
  • sloc: ansic: 2,623; sh: 229; makefile: 51
file content (44 lines) | stat: -rwxr-xr-x 835 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

clean:
	dh $@
	rm -f build-stamp

build: build-stamp
build-stamp:
	dh build --before configure
	dh_auto_configure
	dh build --after configure
	touch $@
	dh_testdir

install: build
	dh $@
	mkdir -p $(CURDIR)/debian/lcrack/usr/bin/
	cp lcrack ${CURDIR}/debian/lcrack/usr/bin/
	cp mktbl ${CURDIR}/debian/lcrack/usr/bin/lcrack_mktbl
	cp mkword ${CURDIR}/debian/lcrack/usr/bin/lcrack_mkword
	cp regex ${CURDIR}/debian/lcrack/usr/bin/lcrack_regex
	chmod 0755 ${CURDIR}/debian/lcrack/usr/bin/*

binary-arch: install
	dh_testdir
	dh_testroot
	dh_installchangelogs CHANGES
	dh_installdocs
	dh_lintian
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-indep:

binary: binary-arch

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