File: rules

package info (click to toggle)
rabbit 3.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,792 kB
  • sloc: ruby: 29,833; javascript: 13,727; lisp: 309; makefile: 43; sh: 9
file content (54 lines) | stat: -rwxr-xr-x 1,954 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
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --buildsystem ruby --with ruby --with elpa

override_dh_elpa:
	dh_elpa --emacs-loadpath='/usr/share/emacs/site-lisp/rdtool-elisp'

override_dh_installchangelogs:
	dh_installchangelogs -k $(CURDIR)/doc/en/news.rd

override_dh_installdocs:
	dh_installdocs
	( cd debian/rabbit/usr/share/doc/rabbit/sample/lldn/ && \
	  rm -f lavie.png && \
	  ln -s ../lavie.png . )

create_man::
	help2man \
		--name="presentation tool using RD, simple text format" \
		--section=1 --manual="rabbit" --no-info --no-discard-stderr \
		"/usr/bin/ruby -Ilib bin/rabbit" \
		--version-string=${DEB_VERSION_EPOCH_UPSTREAM} \
		> debian/rabbit.1
	help2man \
		--name="commandline utility for Rabbit" \
		--section=1 --manual="rabbit-command" --no-info --no-discard-stderr \
		"/usr/bin/ruby -Ilib bin/rabbit-command" \
		--version-string=${DEB_VERSION_EPOCH_UPSTREAM} \
		> debian/rabbit-command.1
	help2man \
		--name="IRC interface for Rabbit" \
		--section=1 --manual="rabbirc" --no-info --no-discard-stderr \
		"/usr/bin/ruby -Ilib bin/rabbirc" \
		--version-string=${DEB_VERSION_EPOCH_UPSTREAM} \
		> debian/rabbirc.1
	help2man \
		--name="Template generator for Rabbit" \
		--section=1 --manual="rabbit-slide" --no-info --no-discard-stderr \
		"/usr/bin/ruby -Ilib bin/rabbit-slide" \
		--version-string=${DEB_VERSION_EPOCH_UPSTREAM} \
		> debian/rabbit-slide.1
	help2man \
		--name="Theme generator for Rabbit" \
		--section=1 --manual="rabbit-teme" --no-info --no-discard-stderr \
		"/usr/bin/ruby -Ilib bin/rabbit-teme" \
		--version-string=${DEB_VERSION_EPOCH_UPSTREAM} \
		> debian/rabbit-theme.1

# # 	LC_ALL=C ruby1.8 -Ilib bin/rabbit --roff --locale-dir data/locale > debian/rabbit.1
# # 	LC_ALL=C ruby1.8 -Ilib bin/rabbit-theme --roff --locale-dir data/locale > debian/rabbit-theme-manager.1
# # 	LC_ALL=C ruby1.8 -Ilib bin/rabbit-command --roff --locale-dir data/locale > debian/rabbit-command.1