xepoll_thread_*/client: EPOLLONESHOT implies EPOLLET
[rainbows.git] / GNUmakefile
blob5fb780c299955957c8b2c707e44477358a785c60
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
7 man-rdoc: man html
8 $(MAKE) -C Documentation comparison.html
9 for i in $(man1_rdoc); do echo > $$i; done
10 doc:: man-rdoc
11 include pkg.mk
12 ifneq ($(VERSION),)
13 release::
14 $(RAKE) raa_update VERSION=$(VERSION)
15 $(RAKE) publish_news VERSION=$(VERSION)
16 $(RAKE) fm_update VERSION=$(VERSION)
17 endif
19 base_bins := rainbows
20 bins := $(addprefix bin/, $(base_bins))
21 man1_rdoc := $(addsuffix _1, $(base_bins))
22 man1_bins := $(addsuffix .1, $(base_bins))
23 man1_paths := $(addprefix man/man1/, $(man1_bins))
25 clean:
26 -$(MAKE) -C Documentation clean
28 man html:
29 $(MAKE) -C Documentation install-$@
31 pkg_extra += $(man1_paths) lib/rainbows/version.rb
33 doc::
34 cat Documentation/comparison.css >> doc/rdoc.css
35 $(RM) $(man1_rdoc)
37 lib/rainbows/version.rb: GIT-VERSION-FILE
39 all:: test
40 test: lib/rainbows/version.rb
41 $(MAKE) -C t
43 .PHONY: man html