File: Makefile

package info (click to toggle)
htree 0.0.20040714-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 380 kB
  • ctags: 632
  • sloc: ruby: 5,132; makefile: 65
file content (21 lines) | stat: -rw-r--r-- 362 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
RUBY=ruby
RD2HTML=rd2 -r rd/rd2html-lib.rb

all: README.html doc/index.html

README.html: README.rd
	$(RD2HTML) --html-title='htree - HTML/XML tree library' -o README README.rd

check test:
	$(RUBY) -I. test-all.rb

install:
	$(RUBY) install.rb

.PHONY: check test all install

RB = htree.rb $(wildcard htree/*.rb)
doc/index.html: $(RB)
	rm -rf doc
	rdoc $(RB)