about summary refs log tree commit homepage
path: root/GNUmakefile
blob: 3a739b3f017b08e793b930ee1b3bbf72ba6cd279 (plain)
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
# use GNU Make to run tests in parallel, and without depending on RubyGems
all::
RSYNC_DEST := yhbt.net:/srv/yhbt/rainbows
rfpackage := rainbows
PLACEHOLDERS := rainbows_1 Summary

Documentation/comparison.html: Documentation/comparison.haml
	haml < $< >$@+ && mv $@+ $@

# only for the website
doc :: Documentation/comparison.html
doc :: man/man1/rainbows.1.html

include pkg.mk
man1 := man/man1/rainbows.1

clean:
	-$(MAKE) -C Documentation clean
	$(RM) $(man1) $(html1)

pkg_extra += $(man1) lib/rainbows/version.rb

%.1.html: %.1
	$(OLDDOC) man2html -o $@ $<

lib/rainbows/version.rb: GIT-VERSION-FILE

all:: test
test: lib/rainbows/version.rb
	$(MAKE) -C t