File: rules

package info (click to toggle)
gitpkg 0.31%2Bnmu1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 232 kB
  • sloc: sh: 1,365; makefile: 34
file content (43 lines) | stat: -rwxr-xr-x 853 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
#!/usr/bin/make -f

export DH_OPTIONS

clean:
	dh_testdir
	dh_testroot
	dh_clean

build:
build-arch:
build-indep:

install: BASH_COMPLETIONDIR = usr/share/bash-completion/completions
install:
	dh_testdir
	dh_testroot
	dh_prep -i
	dh_install gitpkg git-debimport git-debcherry usr/bin
	dh_install hooks usr/share/gitpkg
	dh_installman gitpkg.1 git-debimport.1 git-debcherry.1
	dh_installexamples examples/README.debcherry-export
	dh_installdirs $(BASH_COMPLETIONDIR)
	cp gitpkg.bash_completion debian/gitpkg/$(BASH_COMPLETIONDIR)/gitpkg


binary: binary-indep
binary-arch:

binary-indep: DH_OPTIONS = -i
binary-indep: install
	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 binary binary-arch binary-indep