rainbows.git  about / heads / tags
Unicorn for sleepy apps and slow clients
blob cd087db64754380f84ba77eb7fbaffb860783d9c 921 bytes (raw)
$ git show v3.2.0:GNUmakefile	# shows this blob on the CLI

 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
33
34
35
36
37
38
39
40
41
 
# use GNU Make to run tests in parallel, and without depending on RubyGems
all::
RSYNC_DEST := rubyforge.org:/var/www/gforge-projects/rainbows
rfproject := rainbows
rfpackage := rainbows

man-rdoc: man html
	$(MAKE) -C Documentation comparison.html
	for i in $(man1_rdoc); do echo > $$i; done
doc:: man-rdoc
include pkg.mk
ifneq ($(VERSION),)
release::
	$(RAKE) raa_update VERSION=$(VERSION)
	$(RAKE) publish_news VERSION=$(VERSION)
	$(RAKE) fm_update VERSION=$(VERSION)
endif

base_bins := rainbows
bins := $(addprefix bin/, $(base_bins))
man1_rdoc := $(addsuffix _1, $(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)

doc::
	cat Documentation/comparison.css >> doc/rdoc.css
	$(RM) $(man1_rdoc)

all:: test
test:
	$(MAKE) -C t

.PHONY: man html

git clone https://yhbt.net/rainbows.git