File: Makefile

package info (click to toggle)
ruby-sdl 2.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,180 kB
  • sloc: ansic: 4,582; ruby: 2,190; makefile: 28
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 ..