File: rules

package info (click to toggle)
ruby-sdl 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,544 kB
  • ctags: 1,359
  • sloc: cpp: 7,598; ansic: 4,498; ruby: 2,246; makefile: 106; sh: 102
file content (21 lines) | stat: -rwxr-xr-x 531 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
#!/usr/bin/make -f

%:
	dh $@ --with ruby --buildsystem ruby

override_dh_auto_build:
	( cd $(CURDIR)/doc    && $(MAKE) && $(MAKE) install )
	( cd $(CURDIR)/doc-en && $(MAKE) && $(MAKE) install )

override_dh_installchangelogs:
	dh_installchangelogs --all --keep $(CURDIR)/NEWS.en

override_dh_installexamples:
	dh_installexamples -Xicon.bmp.gz

override_dh_auto_clean:
	dh_auto_clean
	-@rm -f $(CURDIR)/*.html
	-@rm -f $(CURDIR)/*.rd
	-@( cd $(CURDIR)/doc    && rm -f *.rd *.html )
	-@( cd $(CURDIR)/doc-en && rm -f *.rd *.html )