documentation updates for Rubyforge death
[rainbows.git] / GNUmakefile
blob3001281e00576f42c3766d41fd923c37c5351272
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 RSYNC_DEST := rainbows.bogomips.org:/srv/rainbows
5 rfproject := rainbows
6 rfpackage := rainbows
8 man-rdoc: man html
9 $(MAKE) -C Documentation comparison.html
10 for i in $(man1_rdoc); do echo > $$i; done
11 doc:: man-rdoc
12 include pkg.mk
13 ifneq ($(VERSION),)
14 release::
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