File: rules

package info (click to toggle)
fortunes-bofh-excuses 1.2-2
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 236 kB
  • ctags: 54
  • sloc: ansic: 372; makefile: 24; cpp: 15; sh: 6
file content (42 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
#! /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.

#export DH_VERBOSE=1

pkg=fortunes-bofh-excuses

build:
	dh_testdir

clean:
	dh_testdir
	dh_clean

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

binary-indep: build
	dh_testdir
	dh_testroot
	dh_installdirs

	strfile bofh-excuses debian/$(pkg)/usr/share/games/fortunes/bofh-excuses.dat
	install -m 0644 bofh-excuses debian/$(pkg)/usr/share/games/fortunes

	dh_link
	dh_installdocs README
	dh_installchangelogs
	dh_compress
	dh_fixperms

	dh_gencontrol
	dh_installdeb
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch

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