File: rules

package info (click to toggle)
opie 2.31-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 892 kB
  • ctags: 678
  • sloc: ansic: 10,060; yacc: 1,071; makefile: 208; sh: 163
file content (43 lines) | stat: -rwxr-xr-x 856 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
#!/usr/bin/make -f

build: 
	dh_testdir
	./configure --quiet --prefix=/usr --enable-retype
	make
	touch stamp-build

clean:
	dh_testdir
	dh_testroot
	-make realclean
	-rm -f stamp-build
	dh_clean

binary-indep:

binary-arch: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs 
	cp opie{key,gen} debian/tmp/usr/bin
	cd debian/tmp/usr/bin && rm -f otp-md4 otp-md5 && \
	ln -s opiekey otp-md4 ; ln -s opiekey otp-md5
	dh_installdocs  BUG-REPORT README
	dh_installmanpages  \
	opieftpd.8 opiesu.1 opielogin.1 opiepasswd.1 opieserv.1 opieinfo.1 \
        opieaccess.5 opiekeys.5
	cd debian/tmp/usr/man/man1 && ln -s opiekey.1 otp-md4.1 ; ln -s opiekey.1 otp-md5.1
	dh_installchangelogs
	dh_strip
	dh_compress 
	dh_fixperms 
	dh_shlibdeps 
	dh_gencontrol 
	dh_du 
	dh_md5sums 
	dh_builddeb 

binary: binary-arch binary-indep

.PHONY: build clean binary