File: rules

package info (click to toggle)
ispell-czech 20010104-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,800 kB
  • ctags: 4
  • sloc: perl: 646; sh: 61; makefile: 49
file content (47 lines) | stat: -rwxr-xr-x 958 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
46
47
#!/usr/bin/make -f
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.
#

package=iczech

build:
	dh_testdir    
	make
	
clean:
	dh_testdir
	dh_testroot
	dh_clean
	-rm czech.a-z.cnt 
	-rm czech.a-z
	-rm czech.a-z.stat
	-rm czech.hash
	
binary-indep: build

binary-arch: build
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installchangelogs		
#	-rm -rf debian/tmp
#	install -d debian/tmp
#	cd debian/tmp && install -d `cat ../dirs`
	dh_installdirs
	install -d debian/tmp/usr/lib/ispell
	install -g root -m 644 -o root czech.aff debian/tmp/usr/lib/ispell/
	install -g root -m 644 -o root czech.hash debian/tmp/usr/lib/ispell/
#	debstd 
	dh_installdeb
#	dpkg-gencontrol
#	chown -R root.root debian/tmp
#	chmod -R go=rX debian/tmp
#	dpkg --build debian/tmp ..
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch

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