File: rules

package info (click to toggle)
filler 1.02-6.2
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,252 kB
  • ctags: 803
  • sloc: java: 4,218; makefile: 79; sh: 57; xml: 29
file content (67 lines) | stat: -rwxr-xr-x 1,720 bytes parent folder | download | duplicates (2)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

export JAVA_HOME=/usr/lib/jvm/default-java

build: build-stamp
build-stamp:
	dh_testdir

	# Add here commands to compile the package.
	$(MAKE)

	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp

	# Add here commands to clean up after the build process.
	$(MAKE) clean
	-rm -f other/filler.png
	-rm -f debian/filler.xpm
	-rm -f filler.jar

	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	uudecode -o other/filler.png other/filler.u
	uudecode -o debian/filler.xpm debian/filler.u

# Build architecture-independent files here.
binary-indep: build install
	dh_testdir
	dh_testroot
	install -m 664 -o root -g games other/ratings.ser debian/filler/var/games/filler.ratings
	gzip -f debian/filler/var/games/filler.ratings
	install -m 755 -o root -g games other/filler debian/filler/usr/games
	install -m 644 -o root -g root debian/filler.xpm debian/filler/usr/share/pixmaps
	install -m 644 -o root -g root other/filler.png debian/filler/usr/share/pixmaps
	install -m 644 -o root -g root other/filler.desktop debian/filler/usr/share/applications
	install -m 644 -o root -g games filler.jar debian/filler/usr/share/java
	dh_installdocs
	dh_installmenu
	dh_installman
	dh_installchangelogs CHANGES
	dh_compress
	dh_fixperms
	# You may want to make some executables suid here.
	chown root debian/filler/usr/games/filler
	chgrp games debian/filler/usr/games/filler
	chmod 755 debian/filler/usr/games/filler
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch:

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