File: rules

package info (click to toggle)
mrb 0.3%2Bnmu1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 84 kB
  • sloc: makefile: 295; perl: 286
file content (57 lines) | stat: -rwxr-xr-x 893 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/make -f
#
# Copyright 2003 - 2016 Ron Lee.

SHELL = /bin/bash

export DH_OPTIONS


clean:
	dh_testdir
	$(RM) gitkeeper.8
	dh_clean 


build: build-indep
build-arch:

build-indep:
	dh_testdir
	pod2man -s 8 gitkeeper gitkeeper.8


install: install-indep
install-arch:

install-indep: DH_OPTIONS = -i
install-indep:
	dh_testdir
	dh_testroot
	dh_prep
	dh_install mrb gitkeeper usr/bin
	dh_installman mrb.8 gitkeeper.8
	dh_link usr/bin/gitkeeper              usr/bin/gk \
		usr/share/man/man8/gitkeeper.8 usr/share/man/man8/gk.8


binary: binary-indep
binary-arch:

binary-indep: DH_OPTIONS = -i
binary-indep: install-indep
	dh_testdir
	dh_testroot
	dh_installchangelogs 
	dh_installdocs
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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