about summary refs log tree commit homepage
path: root/GNUmakefile
blob: 0eb88dadda94bfe6a896a489435b2108c8ca3b3c (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
31
32
# use GNU Make to run tests in parallel, and without depending on RubyGems
all::
# RSYNC_DEST := rubyforge.org:/var/www/gforge-projects/rainbows
RSYNC_DEST := rainbows.bogomips.org:/srv/rainbows
rfpackage := rainbows
PLACEHOLDERS := rainbows_1 Summary

man-rdoc: man html
	$(MAKE) -C Documentation comparison.html
doc:: man-rdoc
include pkg.mk

base_bins := rainbows
bins := $(addprefix bin/, $(base_bins))
man1_bins := $(addsuffix .1, $(base_bins))
man1_paths := $(addprefix man/man1/, $(man1_bins))

clean:
	-$(MAKE) -C Documentation clean

man html:
	$(MAKE) -C Documentation install-$@

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

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

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

.PHONY: man html