File: Makefile

package info (click to toggle)
ruby-sdl 2.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,344 kB
  • ctags: 4,200
  • sloc: cpp: 7,598; ansic: 4,475; ruby: 2,258; sh: 102; makefile: 97
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 ..