File: Makefile

package info (click to toggle)
libsdl-ruby 2.1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,132 kB
  • ctags: 2,115
  • sloc: ansic: 4,567; ruby: 2,189; makefile: 27
file content (18 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

RSD = ruby ../doc/rsd.rb -e
RDFILES = general.rd init.rd video.rd opengl.rd wm.rd event.rd joystick.rd cdrom.rd mixer.rd time.rd font.rd collision.rd sdlskk.rd mpeg.rd
RD2 = rd2
RD2OPT = -r rd/rd2html-lib.rb --html-lang=en --html-charset=UTF-8


rubysdl_ref.en.html: rubysdl_ref.en.rd
	$(RD2) $(RD2OPT) --html-title="Ruby/SDL Reference Manual" $< > $@ || rm -f $@

rubysdl_ref.en.rd: $(RDFILES)
	cat $(RDFILES) > rubysdl_ref.en.rd

%.rd: %.rsd
	$(RSD) < $< > $@

install: rubysdl_ref.en.html
	cp rubysdl_ref.en.html rubysdl_ref.en.rd ..