*epoll: refactor common loop code
[rainbows.git] / GNUmakefile
blobd935d26debbd36e931dc3adb8e2fd16a7b72a708
1 # use GNU Make to run tests in parallel, and without depending on RubyGems
2 all::
3 RSYNC_DEST := rubyforge.org:/var/www/gforge-projects/rainbows
4 rfproject := rainbows
5 rfpackage := rainbows
6 include pkg.mk
7 ifneq ($(VERSION),)
8 release::
9 $(RAKE) raa_update VERSION=$(VERSION)
10 $(RAKE) publish_news VERSION=$(VERSION)
11 $(RAKE) fm_update VERSION=$(VERSION)
12 endif
14 base_bins := rainbows
15 bins := $(addprefix bin/, $(base_bins))
16 man1_rdoc := $(addsuffix _1, $(base_bins))
17 man1_bins := $(addsuffix .1, $(base_bins))
18 man1_paths := $(addprefix man/man1/, $(man1_bins))
20 clean:
21 -$(MAKE) -C Documentation clean
23 man html:
24 $(MAKE) -C Documentation install-$@
26 pkg_extra += $(man1_paths)
28 man-rdoc: man html
29 $(MAKE) -C Documentation comparison.html
30 for i in $(man1_rdoc); do echo > $$i; done
31 doc:: man-rdoc
32 cat Documentation/comparison.css >> doc/rdoc.css
33 $(RM) $(man1_rdoc)
35 all:: test
36 test:
37 $(MAKE) -C t
39 .PHONY: man html