File: rules

package info (click to toggle)
wm2 4-8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 236 kB
  • ctags: 415
  • sloc: cpp: 3,479; makefile: 51; sh: 39
file content (52 lines) | stat: -rwxr-xr-x 904 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
48
49
50
51
52
#!/usr/bin/make -f
#DH_VERBOSE=1
package=wm2

build:
	dh_testdir
	make CFLAGS="-O2 -g -Wall"
	touch build

clean:
	dh_testdir
	dh_testroot

	rm -f build
	make clean
	rm -f wm2
	dh_clean

binary-indep: build
# There are no architecture-independent files to be uploaded
# generated by this package.  If there were any they would be
# made here.

binary-arch:	build
	dh_testdir
	dh_testroot
	dh_clean
	dh_installdirs
	install -d debian/tmp
	install wm2 ./debian/tmp/usr/bin
	dh_installmenu
	dh_installdocs
	dh_installman debian/wm2.1
	dh_installchangelogs
# to be though again, when when it supports manpages...
#	dh_installwm --manpage=/usr/share/man/man1/wm2.1.gz /usr/bin/wm2
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

# Below here is fairly generic really

binary:		binary-indep binary-arch


.PHONY: binary binary-arch binary-indep clean