File: rules

package info (click to toggle)
easygit 0.99-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 320 kB
  • ctags: 355
  • sloc: perl: 5,914; sh: 188; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 515 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
#!/usr/bin/make -f

%:
	dh $@
# broken, oops (#535109)
#	dh --with bash-completion $@

CMD=$(subst override_,,$@)

override_dh_clean:
	$(CMD)
	[ -f bash-completion-eg.sh ] || mv debian/easygit.bash-completion bash-completion-eg.sh

override_dh_bash-completion:
	[ -f debian/easygit.bash-completion ] || mv bash-completion-eg.sh debian/easygit.bash-completion
	$(CMD)

debian/eg.1:
	help2man -n "git for mere mortals" -N ./eg > $@

override_dh_installman: debian/eg.1 override_dh_bash-completion # remove me
	$(CMD)