File: GNUmakefile

package info (click to toggle)
rainbows 5.0.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,424 kB
  • sloc: ruby: 5,287; sh: 4,166; makefile: 2
file content (32 lines) | stat: -rw-r--r-- 759 bytes parent folder | download | duplicates (2)
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